Note: Further development suspended as of 2021-09-11.
This is a starter set for the Eleventy static site generator (SSG). See the online demo. Of course, there are many far better ones on the Eleventy “Starter Projects” page!
This starter set uses JavaScript templating (.11ty.js). For a version that uses Nunjucks templating, see the eleventy_solo_starter_njk_scss repo.
- Clone this to a local repo.
- Make appropriate changes to
/_data/metadata.json
and_data/siteparams.json
to conform to your site’s parameters. - Run
npm install
to load all the dependencies inpackage.json
, which includes Eleventy. - Run
npm run start
from your terminal app. You can then view the site in http://localhost:3000 on your computer. - Read the sample posts and their Markdown files to see how everything works.
- Edit the content to make it your own!
- When ready, deploy the site to your chosen host.
- Responsive images through the
eleventy-img
plugin and animage
shortcode. - Sass/SCSS.
- PostCSS for use of Autoprefixer.
- CSS with a hashed file name in production mode, for caching purposes. In development mode, the CSS comes from a locally called
index.css
file.