jdsteinbach / elevensies

A starter kit for Eleventy (11ty.io) sites (name courtesy of hobbits)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elevensies

A starter kit for Eleventy sites. Thanks to Tolkien for the name.

Setting up

Click "Use this template" on this repo.

Local Dev

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 for Deploy

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

Test Files

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.

About

A starter kit for Eleventy (11ty.io) sites (name courtesy of hobbits)


Languages

Language:JavaScript 82.9%Language:Liquid 11.1%Language:CSS 6.0%