Based On Eleventy Netlify Boilerplate
Fast and lightweight website using the Eleventy static site generator. With Netlify CMS baked-in, and deployed on Netlify.
Based on the Eleventy Base Blog repo (see there for additional info on Eleventy usage).
- Post authors, using a simple folder collection
- Uses the official Eleventy Navigation plugin to build menus
- Netlify CMS with editor previews (thanks @biilmann!)
- CSS 2kb minified, inlined for fastest page render
- Optional pipeline for minified inline JS
- Pre-builds and minifies your HTML too
- Uses Markdown files for content
- Uses Nunjucks (or Liquid) templates for layout
- No JS frameworks
- Continuous Deployment workflow via Netlify
We can only have 5 CMS accounts on the free Netlify plan. For access contact Kyle or another mod/dev. They'll send you an account setup email that will link you to the website and you should be good to go from there. The website CMS is accessible at https://booptroopeugene.com/admin/
You can optionally use an external login provider when setting up your account.
Now you're all set, and you can start editing content!
If we change the repo from public to private, we'll need to regenerate our token, as the token generated using the deploy to Netlify button can only access public repositories. To regenerate the token, head to "Settings" in Netlify dashboard, go to the "Identity" section, then scroll to "Services" and click "Edit settings" then "Generate access token in GitHub".
git clone https://github.com/booptroopeugene/booptroopeugene.git
cd booptroopeugene
Specifically have a look at .eleventy.js
to see if you want to configure any Eleventy options differently.
npm install @11ty/eleventy
npm start
(this runs npx @11ty/eleventy --serve
)
Or run in debug mode: DEBUG=* npx @11ty/eleventy
With npm start
running, open localhost:8080 to view your changes updated on the fly. Create a branch for your work, make your changes, and then submit a pull request for review.
This is an ongoing project and contributions and suggestions are welcome! Feel free to add to the discussion in our discord #website-requests channel, open an issue on GitHub, or submit a PR.