A mildly opinionated Eleventy starter project.
- HTML Minification
- CSS Pipline (SCSS > CleanCSS > Inline)
- Eleventy Dev Server
- Eleventy SVG Icon Sprites
- Eleventy RSS
- Date Formatting Filter
- Post Excerpts
Navigate to the root folder of the site and run:
npm install
To run the development environment:
npm run dev
To build for production:
npm run build
For additional eleventy commands, visit the Eleventy command line usage page.
Edit and amend as needed. The main Sass files are under the /assets
folder.
src
/assets
/styles
/scss
/base
/components
/utility
main.scss
The development environment watches for changes to the Sass files and pushes changes to main.css
in the /includes
folder. Eleventy then pushes the styles inline in the <head>
of the base page template.
At build time, all the html files are minified.