<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>eleventy-plugin-blog news</title>
  <link href="https://sielay.github.io/eleventy-plugin-blog/blog/feed.xml" rel="self"/>
  <link href="https://sielay.github.io/eleventy-plugin-blog/"/>
  <id>https://sielay.github.io/eleventy-plugin-blog/</id>
  <updated>2026-11-29T18:00:00.000Z</updated>
  <author><name>Lukasz Sielski</name></author>
  <entry xml:base="https://sielay.github.io/eleventy-plugin-blog/blog/2026-11-29-built-in-pages/">
    <title>Version 0.4.0: the plugin adds the pages for you</title>
    <link href="https://sielay.github.io/eleventy-plugin-blog/blog/2026-11-29-built-in-pages/"/>
    <id>https://sielay.github.io/eleventy-plugin-blog/blog/2026-11-29-built-in-pages/</id>
    <updated>2026-11-29T18:00:00.000Z</updated>
    <content type="html">&lt;p&gt;Until now you installed the plugin and then copied five templates from the example folder. When the plugin changed, your copies went stale.&lt;/p&gt;
&lt;p&gt;Version 0.4.0 adds the pages itself, through Eleventy virtual templates:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Page&lt;/th&gt;
&lt;th&gt;URL&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Post list&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/blog/&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tags&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/blog/tag/&lt;/code&gt;, &lt;code&gt;/blog/tag/&amp;lt;slug&amp;gt;/&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Archive&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/blog/2026/&lt;/code&gt;, &lt;code&gt;/blog/2026/07/&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Feed&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/blog/feed.xml&lt;/code&gt;, when &lt;code&gt;feed.url&lt;/code&gt; is set&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;ul&gt;
&lt;li&gt;Pass &lt;code&gt;layout: &amp;quot;base.njk&amp;quot;&lt;/code&gt; and the pages use your site&#39;s layout.&lt;/li&gt;
&lt;li&gt;To replace one page, create &lt;code&gt;blog-pages/&amp;lt;page&amp;gt;.njk&lt;/code&gt; in your input folder.&lt;/li&gt;
&lt;li&gt;To keep all your own pages, pass &lt;code&gt;pages: false&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Eleventy 4&lt;/h2&gt;
&lt;p&gt;The plugin also works with the Eleventy 4 alpha, and CI tests it there. On Eleventy 4, &lt;code&gt;keys: { tags: false }&lt;/code&gt; stops Eleventy making a collection for every tag; the plugin&#39;s tag pages do not need them.&lt;/p&gt;
&lt;h2&gt;Upgrading&lt;/h2&gt;
&lt;p&gt;If your site already has pages at &lt;code&gt;/blog/&lt;/code&gt; or the other URLs above, Eleventy reports duplicate permalinks. Pass &lt;code&gt;pages: false&lt;/code&gt; to keep yours.&lt;/p&gt;
&lt;p&gt;This site uses the new pages: the news list, the tag pages, and the feed here come from the plugin, inside this site&#39;s layout.&lt;/p&gt;
</content>
  </entry>
  <entry xml:base="https://sielay.github.io/eleventy-plugin-blog/blog/2026-11-29-version-0-3-0/">
    <title>Version 0.3.0: Eleventy 3 support</title>
    <link href="https://sielay.github.io/eleventy-plugin-blog/blog/2026-11-29-version-0-3-0/"/>
    <id>https://sielay.github.io/eleventy-plugin-blog/blog/2026-11-29-version-0-3-0/</id>
    <updated>2026-11-29T12:00:00.000Z</updated>
    <content type="html">&lt;p&gt;Version 0.3.0 brings the plugin up to date with Eleventy 3.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Eleventy 3 is a peer dependency, and Node.js 18 or later is required.&lt;/li&gt;
&lt;li&gt;The plugin reads the Eleventy input folder, so posts under &lt;code&gt;src/blog/&lt;/code&gt; work with no extra options.&lt;/li&gt;
&lt;li&gt;Builds are quiet. Pass &lt;code&gt;verbose: true&lt;/code&gt; to see what the plugin collects.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;sortBlog&lt;/code&gt; option works, and it orders both &lt;code&gt;blog&lt;/code&gt; and &lt;code&gt;blog_flat&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Three dependencies are gone: &lt;code&gt;lodash&lt;/code&gt;, &lt;code&gt;chalk&lt;/code&gt;, and &lt;code&gt;please-upgrade-node&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See the &lt;a href=&quot;https://github.com/sielay/eleventy-plugin-blog/blob/master/CHANGELOG.md&quot;&gt;changelog&lt;/a&gt; for the full list.&lt;/p&gt;
</content>
  </entry>
</feed>
