No description
Find a file
2023-06-08 15:42:42 -04:00
src Updated list of features for v2 2023-06-08 15:42:42 -04:00
.eleventy.js remove css passthrough 2023-06-05 15:21:35 -04:00
.gitignore ignore maps 2023-06-05 15:21:25 -04:00
package-lock.json 🔧 new repo dev scripts 2023-06-04 11:26:04 -04:00
package.json revised build script 2023-06-08 15:16:10 -04:00
README.md more detailed getting started guide, sass info 2023-06-08 15:16:46 -04:00

Eleventonia

A mildly opinionated Eleventy starter project.

Deploy to Netlify

Features

  • HTML Minification
  • CSS Pipline (SCSS > CleanCSS > Inline)
  • Eleventy Dev Server
  • Eleventy SVG Icon Sprites
  • Eleventy RSS
  • Date Formatting Filter
  • Post Excerpts

Getting Started

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.

Editing Styles

Edit and amend as needed. The main Sass files are under the /assets folder.

Sass Folder Structure

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.

Prodution Build

At build time, all the html files are minified.

Thanks To