<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>My Nera Blog</title>
    <subtitle>A blog built with Nera</subtitle>
    <link rel="self" type="application/atom+xml" href="https://nera.js.org/themes/blog/plain/feed.xml"/>
    <link rel="alternate" type="text/html" href="https://nera.js.org/themes/blog/plain/index.html"/>
    <id>https://nera.js.org/themes/blog/plain/feed.xml</id>
    <updated>2026-10-12T00:00:00Z</updated>
    <author>
        <name>My Nera Blog</name>
    </author>
    <entry>
        <title>Series, facts and the home page</title>
        <link rel="alternate" type="text/html" href="https://nera.js.org/themes/blog/plain/posts/series-and-facts.html"/>
        <id>https://nera.js.org/themes/blog/plain/posts/series-and-facts.html</id>
        <published>2026-10-12T00:00:00Z</published>
        <updated>2026-10-12T00:00:00Z</updated>
        <category term="writing"/>
        <category term="nera"/>
        <summary type="text">Join posts into a series, give a post its figures, and choose what the home page shows.</summary>
        <content type="html">&lt;h2&gt;A series&lt;/h2&gt;
&lt;p&gt;Give each post of a series the same &lt;code&gt;series&lt;/code&gt; and its place in &lt;code&gt;series_part&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;nera-code&quot;&gt;
&lt;div class=&quot;nera-code__bar&quot; data-search-ignore=&quot;&quot;&gt;&lt;span class=&quot;nera-code__title&quot;&gt;yaml&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;nera-code__pre&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot;&gt;&lt;span class=&quot;hljs-attr&quot;&gt;series:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;Start&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;here&lt;/span&gt;
&lt;span class=&quot;hljs-attr&quot;&gt;series_part:&lt;/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;2&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Above the title the post then says which series and part it is, and under
the post the parts of the series are listed in order, the current one
marked. This post is part two; &lt;a href=&quot;https://nera.js.org/themes/blog/plain/posts/write-a-post.html&quot;&gt;Write your first post&lt;/a&gt;
is part one.&lt;/p&gt;
&lt;h2&gt;Facts&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;facts&lt;/code&gt; is a list of at most four figures, each a &lt;code&gt;label&lt;/code&gt; and a &lt;code&gt;value&lt;/code&gt;. They
stand beside the text, or above it on a phone. Give a value its unit:
&lt;code&gt;5 minutes&lt;/code&gt;, not &lt;code&gt;5&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;nera-code&quot;&gt;
&lt;div class=&quot;nera-code__bar&quot; data-search-ignore=&quot;&quot;&gt;&lt;span class=&quot;nera-code__title&quot;&gt;yaml&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;nera-code__pre&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot;&gt;&lt;span class=&quot;hljs-attr&quot;&gt;facts:&lt;/span&gt;
    &lt;span class=&quot;hljs-bullet&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;hljs-attr&quot;&gt;label:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;Time&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;up&lt;/span&gt;
      &lt;span class=&quot;hljs-attr&quot;&gt;value:&lt;/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;5&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;minutes&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h2&gt;The home page&lt;/h2&gt;
&lt;p&gt;Two keys in &lt;code&gt;config/theme.yaml&lt;/code&gt; choose what the home page shows below the
newest posts. &lt;code&gt;blog.featured_series&lt;/code&gt; names the series it features, with a
link to part one; &lt;code&gt;blog.highlight_tag&lt;/code&gt; names a tag whose newest four posts it
lists. Leave either empty, and its block disappears.&lt;/p&gt;
&lt;div class=&quot;nera-code&quot;&gt;
&lt;div class=&quot;nera-code__bar&quot; data-search-ignore=&quot;&quot;&gt;&lt;span class=&quot;nera-code__title&quot;&gt;yaml&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;nera-code__pre&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot;&gt;&lt;span class=&quot;hljs-attr&quot;&gt;blog:&lt;/span&gt;
    &lt;span class=&quot;hljs-attr&quot;&gt;featured_series:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;Start&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;here&lt;/span&gt;
    &lt;span class=&quot;hljs-attr&quot;&gt;highlight_tag:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;writing&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The about block below them comes from &lt;code&gt;author&lt;/code&gt; in the same file: a name, a
sentence about you and the address of your about page.&lt;/p&gt;
</content>
    </entry>
    <entry>
        <title>Write your first post</title>
        <link rel="alternate" type="text/html" href="https://nera.js.org/themes/blog/plain/posts/write-a-post.html"/>
        <id>https://nera.js.org/themes/blog/plain/posts/write-a-post.html</id>
        <published>2026-09-21T00:00:00Z</published>
        <updated>2026-09-21T00:00:00Z</updated>
        <category term="writing"/>
        <category term="nera"/>
        <summary type="text">A post is one Markdown file in pages/posts/ with a few lines of frontmatter.</summary>
        <content type="html">&lt;h2&gt;One file per post&lt;/h2&gt;
&lt;p&gt;Every post is a Markdown file in &lt;code&gt;pages/posts/&lt;/code&gt;. The file name becomes the
address: &lt;code&gt;hello.md&lt;/code&gt; is published as &lt;code&gt;/posts/hello.html&lt;/code&gt;. Copy this one to
start:&lt;/p&gt;
&lt;div class=&quot;nera-code&quot;&gt;
&lt;div class=&quot;nera-code__bar&quot; data-search-ignore=&quot;&quot;&gt;&lt;span class=&quot;nera-code__title&quot;&gt;&lt;b&gt;pages/posts/hello.md&lt;/b&gt; · markdown&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;nera-code__pre&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;hljs language-markdown&quot;&gt;&lt;span class=&quot;hljs-meta&quot;&gt;---&lt;/span&gt;
&lt;span class=&quot;hljs-attr&quot;&gt;layout:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;pages/post.pug&lt;/span&gt;
&lt;span class=&quot;hljs-attr&quot;&gt;title:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;Hello&lt;/span&gt;
&lt;span class=&quot;hljs-attr&quot;&gt;description:&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;The&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;first&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;post&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;on&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;my&lt;/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;blog.&lt;/span&gt;
&lt;span class=&quot;hljs-attr&quot;&gt;date:&lt;/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;2026-10-01&lt;/span&gt;
&lt;span class=&quot;hljs-attr&quot;&gt;tags:&lt;/span&gt; [&lt;span class=&quot;hljs-string&quot;&gt;news&lt;/span&gt;]
&lt;span class=&quot;hljs-meta&quot;&gt;---&lt;/span&gt;

&lt;span class=&quot;hljs-section&quot;&gt;## A heading&lt;/span&gt;

Start the text at &lt;span class=&quot;hljs-code&quot;&gt;`##`&lt;/span&gt;: the title above is the page&apos;s only first-level
heading.&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h2&gt;The frontmatter&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;layout: pages/post.pug&lt;/code&gt; makes the page a post: it is listed on the home
page, in the archive and in the feed.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;date&lt;/code&gt; orders the posts. Always set it; a file&apos;s own date changes whenever
the file is copied.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;description&lt;/code&gt; is the excerpt on the home page and the summary in the feed.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;tags&lt;/code&gt;, &lt;code&gt;author&lt;/code&gt;, &lt;code&gt;updated&lt;/code&gt;, &lt;code&gt;image&lt;/code&gt; and &lt;code&gt;image_alt&lt;/code&gt; are optional.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;series&lt;/code&gt; and &lt;code&gt;series_part&lt;/code&gt; join posts into a series, and &lt;code&gt;facts&lt;/code&gt; gives a
post up to four figures: &lt;a href=&quot;https://nera.js.org/themes/blog/plain/posts/series-and-facts.html&quot;&gt;Series, facts and the home page&lt;/a&gt;
shows both.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Preview and build&lt;/h2&gt;
&lt;p&gt;Run &lt;code&gt;nera dev&lt;/code&gt; to see the post while you write, and &lt;code&gt;nera build --check&lt;/code&gt; to
build the blog into &lt;code&gt;public/&lt;/code&gt; and check every page.&lt;/p&gt;
</content>
    </entry>
    <entry>
        <title>Tags and tag pages</title>
        <link rel="alternate" type="text/html" href="https://nera.js.org/themes/blog/plain/posts/tags.html"/>
        <id>https://nera.js.org/themes/blog/plain/posts/tags.html</id>
        <published>2025-11-04T00:00:00Z</published>
        <updated>2026-01-12T00:00:00Z</updated>
        <author>
            <name>Ada Example</name>
        </author>
        <category term="writing"/>
        <category term="tags"/>
        <summary type="text">Every tag you give a post gets a page that lists all its posts.</summary>
        <content type="html">&lt;h2&gt;Tagging a post&lt;/h2&gt;
&lt;p&gt;List a post&apos;s tags in its frontmatter:&lt;/p&gt;
&lt;div class=&quot;nera-code&quot;&gt;
&lt;div class=&quot;nera-code__bar&quot; data-search-ignore=&quot;&quot;&gt;&lt;span class=&quot;nera-code__title&quot;&gt;yaml&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;nera-code__pre&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;hljs language-yaml&quot;&gt;&lt;span class=&quot;hljs-attr&quot;&gt;tags:&lt;/span&gt; [&lt;span class=&quot;hljs-string&quot;&gt;writing&lt;/span&gt;, &lt;span class=&quot;hljs-string&quot;&gt;tags&lt;/span&gt;]&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The tags appear under the post, each linking its tag page at
&lt;code&gt;/tags/&amp;lt;tag&amp;gt;.html&lt;/code&gt;. The home page and the archive show every tag of the blog.&lt;/p&gt;
&lt;h2&gt;Images&lt;/h2&gt;
&lt;p&gt;This post also has an image: &lt;code&gt;image: /images/workbench.jpg&lt;/code&gt; in the
frontmatter, its text alternative in &lt;code&gt;image_alt&lt;/code&gt;. The file lives in
&lt;code&gt;theme/assets/images/&lt;/code&gt;, and the build turns it into a responsive picture in
modern formats. Images in the text work the same way:
&lt;code&gt;![What the image shows](/images/workbench.jpg)&lt;/code&gt;. Always describe what the
image shows.&lt;/p&gt;
</content>
    </entry>
    <entry>
        <title>Your feed and sitemap</title>
        <link rel="alternate" type="text/html" href="https://nera.js.org/themes/blog/plain/posts/feed.html"/>
        <id>https://nera.js.org/themes/blog/plain/posts/feed.html</id>
        <published>2025-03-02T00:00:00Z</published>
        <updated>2025-03-02T00:00:00Z</updated>
        <category term="publishing"/>
        <category term="nera"/>
        <summary type="text">The build writes an Atom feed for feed readers and a sitemap for search engines.</summary>
        <content type="html">&lt;h2&gt;The feed&lt;/h2&gt;
&lt;p&gt;Every build writes &lt;code&gt;feed.xml&lt;/code&gt;, an Atom feed of your newest posts with their
full text. Feed readers find it through a link in every page&apos;s head, so
readers can follow the blog without an account anywhere.&lt;/p&gt;
&lt;h2&gt;The sitemap&lt;/h2&gt;
&lt;p&gt;The build also writes &lt;code&gt;sitemap.xml&lt;/code&gt;, listing every page, and a &lt;code&gt;robots.txt&lt;/code&gt;
that points search engines to it.&lt;/p&gt;
&lt;h2&gt;The one setting both need&lt;/h2&gt;
&lt;p&gt;A feed and a sitemap need absolute addresses, so both are built from
&lt;code&gt;origin&lt;/code&gt; in &lt;code&gt;config/app.yaml&lt;/code&gt;. Set it to your site&apos;s real address before
you deploy; while it says &lt;code&gt;https://example.com&lt;/code&gt;, every link in the feed
points there.&lt;/p&gt;
</content>
    </entry>
</feed>
