Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A starter repository for building a blog with the Eleventy static site generator, featuring zero-JavaScript output and automated image optimization.
Eleventy Base Blog is a starter repository for building a blog website with the Eleventy static site generator (v3.0), producing a fully static, zero-JavaScript site.
Eleventy Base Blog is an open-source starter project maintained by the Eleventy community (linked from the official Eleventy docs). It takes content written in any template format (Markdown, Nunjucks, HTML, and more) and runs it through Eleventy to generate a production-ready static site in the _site folder. The output includes blog posts, tag pages, an Atom feed, a sitemap, and a 404 page, all pre-rendered with no client-side JavaScript.
srcset, sizes, width/height attributes, loading="lazy", and decoding="async".draft: true in front matter keeps a post out of production builds while still showing it during --serve or --watch.eleventy-plugin-bundle plugin lets each page ship only the CSS it needs, with a Content Security Policy-friendly option to link an external stylesheet.eleventyNavigation front matter key.npm install, and get a static blog with a built-in feed, sitemap, and tag pages without configuring a CMS.addPreprocessor API for drafts._data/metadata.js and the About page, then write posts in content/blog/.The repo is structured with an eleventy.config.js file that wires together plugins, collections, and the data cascade. Content lives in a content/ directory, and the public/ folder is copied to the output via addPassthroughCopy. Running npx @11ty/eleventy produces the static site in _site/; npx @11ty/eleventy --serve starts a local dev server with live reload.
Yes, the starter repository is open source and free to use. You only need to install dependencies via npm and deploy to any static host.
No. The generated site has zero JavaScript output by default. All behavior, including code highlighting and image handling, is done at build time.
Yes. The repository supports any template format configured in eleventy.config.js via templateFormats. Blog posts just need the posts tag to appear in the blog collection.
Add draft: true to the front matter of any template. Drafts are only included while running --serve or --watch and are excluded from production builds.