Extremely minimal Eleventy starter to kickstart a simple multi-page site / a nearly opinionless foundation to continue building on.
-
Generate a repo from this template which will copy this project into your own new repo. Note: You must be signed in to GitHub for this link to work, else visit the repo directly.
-
Once cloned, run
npm install
to install 11ty. Then runnpm start
to run 11ty inserve
mode which will create a local server including hot-reload via BrowserSync.- Use
npm run build
to run a production version.
- Use
-
Open
src/_data/meta.js
and adjust the values to your details. -
Edit
index.md
to change the home page, and then create content withinsrc/pages
using any templating format you prefer to add content.
Review the resources available at 11ty Rocks to learn how to apply more customizations, including adding custom data sources and reviewing what template languages are available.
- Get the highlights in my 14 minute feature overview
- Enjoy written tutorials? Start with my post on creating your first Eleventy website
- Enjoy video tutorials? Learn to build an Eleventy site including Sass in my 20 minute egghead course
- You may want to swap to use Sass instead of CSS and include minifying/autoprefixing (you can copy the relevant bits from the config and the package scripts/dependencies)
- Review additional common config customizations
- Check out some quick tips to learn more about using Eleventy's features
- Add automatically generated social images with my plugin