Series: Start here · Part 1
Write your first post
A post is one Markdown file in pages/posts/ with a few lines of frontmatter. This one uses every key the theme reads.
- Files
- 1
- Minutes
- 5
One file per post
Every post is a Markdown file in pages/posts/. The file name becomes the
address: hello.md is published as /posts/hello.html. Copy this one to
start:
---
layout: pages/post.pug
title: Hello
description: The first post on my blog.
date: 2026-10-01
tags: [News]
is_post: true
---
## A heading
Start the text at `##`: the title above is the page's only first-level
heading.
The frontmatter
The frontmatter of this post sets every key the theme reads:
layout: pages/post.pugmakes the page a post: it is listed on the home page, in the archive, in the feed and in the search.dateorders the posts. Always set it: a file's own date changes whenever the file is copied.updatedadds "Updated" to the author line.descriptionis the text on a card and the summary in the feed;leadis the larger line under the title.tagslinks the post to a tag page per tag, such as Writing.seriesandseries_partjoin posts into a series: the line above the title and the list of parts under the post. The home page shows the series named inblog.featured_seriesinconfig/theme.yaml.imageandimage_altgive the post a picture above the text and on its card. Put the file intheme/assets/images/; the alt text says what the picture shows.factsis a small box of up to four figures beside the text, each alabeland avalue.is_post: truemarks the post for search engines: it gets aBlogPostingin the structured data of its page.
The author line reads author.name in config/theme.yaml; a post that sets
author names someone else.
Preview and build
Run nera dev to see the post while you write, and nera build --check to
build the blog into public/ and check every page. Delete this post once
your own first one is out.