A blog for your Eleventy site, in one line
Add the plugin, put posts in blog/, and build. You get a post list, tag pages, a year and month archive, and an Atom feed. No templates to copy, so updates reach you without merging files.
npm install --save-dev eleventy-plugin-blog
// eleventy.config.js
import blog from "eleventy-plugin-blog";
export default function (eleventyConfig) {
eleventyConfig.addPlugin(blog);
}
Pages included
Post list, tags, categories, archive, and feed, all paginated. Use your own layout with one option.
Yours to replace
Put a file at blog-pages/tag.njk and it replaces the tag page. The other pages stay.
Eleventy 3 and 4
Works with Eleventy 3, and with the Eleventy 4 alpha. Drafts stay out of every page.