A starter kit for Eleventy (11ty.io) sites (name courtesy of hobbits)
A starter kit for Eleventy sites. Thanks to Tolkien for the name.
Click "Use this template" on this repo.
Run the Eleventy site with:
$ npm run start
Elevensies adds cssnano
and rollup-plugin-terser
to CSS & JS builds for production. To emulate this in local dev, use:
$ npm run start:prod
Build the Eleventy site to _site
with:
$ npm run build
Elevensies adds cssnano
and rollup-plugin-terser
to CSS & JS builds for production. To deploy without these tools, use:
$ npm run build:dev
Sorry, I've still got test content files in this repo (src/index.md
, src/assets/js/index.js
, src/assets/scss/styles.scss
). Overwrite them for your work.
ToDo: move test content files to a test suite or something.