TylerMRoderick / fernfolio-11ty-template

The super simple portfolio template built with Eleventy and Netlify CMS
https://fernfolio.netlify.app/
MIT License
98 stars 42 forks source link
11ty 11ty-starter eleventy eleventy-sample jamstack netlify-cms

Netlify Status

Fernfolio — An 11ty Portfolio Template

Launch your personal portfolio in minutes and modify content without opening a code editor!

fernfolio screenshot

🖥  Demo

🤔 What is this?

An Eleventy theme designed to simplify the process of creating a beautiful portfolio and blog. Tightly integrated with Netlify CMS for flexible, Git-powered content management.

✨ Features

🚀 Quick Start

1. Click the "Deploy to Netlify" button below

Deploy to Netlify

This will clone this repo to your github account and will deploy a copy of the demo website to your Netlify account (you can create an account during this process if you don't have one).

2. Setup authentication

After deploying this project, Netlify Identity will add you as a CMS user and will email you an invite. Open that email, hit the "Accept the invite" link, and that should redirect you to the deployed site. From there, you can add your password to finish user setup.

3. Edit some content

Now that you are added as a CMS user, add /admin to the end of your site url, refesh the page, and log in using your new credentials. You should now see the content dashboard. Now you can start editing content!

Any changes saved in the CMS will trigger a git commit in your repo. That new commit will then trigger an auto-deployplent on Netlify.

🏠 Local Development

If you want to test things locally before deploying, follow the steps below:

💻 Development Scripts

npm start

Run 11ty with hot reload at localhost:8080

npm run build

Generate minified production build

Use this as the "Publish command" if needed by hosting such as Netlify.

💡 Dark mode

To enable switching from light to dark mode, global.json has some settings:

🎩 Common issues

If you change the repo that was created at deploy time from public to private, you'll need to regenerate your token, as the token generated using the deploy to Netlify button can only access public repositories. To regenerate your token, head to "Settings" in your Netlify site dashboard, go to the "Identity" section, then scroll to "Services" where you'll see an "Edit settings" button. Click that and you'll see a text link to "Generate access token in GitHub".

🗣 Bug reports, feature requests, etc.

This is a fun side project for me and I always welcome questions/comments. If you run into any problems or have a feature request, please open an issue. I try to read every one and will gladly assist you whenever possible.

Credit

This project was originally forked from eleventy-netlify-boilerplate, but completely revamped to match the needs of a modern porfolio.