Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
An Eleventy Starter Kit
Eleventastic is an Eleventy (11ty) starter kit that wires a Sass CSS pipeline, webpack JavaScript bundling, SVG icon sprite generation, and critical CSS into a single static site build, ready to fork and deploy to Netlify.
Eleventastic is a simple Eleventy starter kit created by Max Böck as his base for all new 11ty projects. It takes Eleventy template files, Sass stylesheets, ES6 JavaScript modules, and SVG icons as inputs, and outputs a production-ready static site in a dist directory containing minified HTML, optimized CSS, and bundled JavaScript. The entire pipeline runs through Eleventy itself — no external build tools like Gulp or Grunt are used. Böck credits Phil Hawksworth's EleventyOne, Mike Riethmuller's Supermaya, and Zach Leatherman's zachleat.com as sources of ideas.
src/assets/styles/main.scss is processed and optimized with CleanCSS, output to dist/assets/styles/main.css.src/assets/scripts/main.js is transpiled to ES5 with Babel, bundled with webpack, and minified in production builds, output to dist/assets/scripts/main.js.src/assets/icons is bundled into a single symbol sprite; the filename becomes the icon identifier, and any template renders it with the "icon" shortcode.npm start launches a development server with live reloading, and npm run build generates the production output.Eleventastic suits developers who want a preconfigured front-end pipeline without assembling Sass, webpack, and icon sprite tooling themselves. Eleventy developers get a working starting point they can fork and customize for their own projects. Front-end developers who prefer one static site generator over separate build tools get a pipeline run entirely through 11ty. Developers deploying to Netlify can fork the GitHub repository and use the one-click deploy button to publish a live site immediately.
npm start for a local dev server with live reloading and iterate on templates without manual builds.src/assets/icons and reference them anywhere with the icon shortcode.Getting started takes three steps. First, run npm install in the site root to install dependencies. Then use npm start to launch a development server with live reloading, or npm run build to generate a production build. To deploy, fork the repository on GitHub and use the "Deploy to Netlify" button, which connects the fork to Netlify for continuous deploys.
Eleventastic is free — it is distributed through a public GitHub repository that anyone can fork and deploy without a license fee.
Yes. Eleventastic is distributed as a public GitHub repository, so anyone can fork, modify, and deploy it with no license fee or signup.
Eleventastic includes Sass with CleanCSS for styles, Babel and webpack for JavaScript, a custom SVG icon sprite generator, the critical package for critical CSS, and HTML minification — all running through Eleventy itself.
Place an SVG file, for example github.svg, into the src/assets/icons folder. The file is bundled into a symbol sprite, and you render it in any template with the shortcode written as the word "icon" followed by the filename in quotes.
No. Critical CSS is only inlined in the head of the homepage, which is a stated limitation of the template's current setup.
