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.

Four bar charts in red, lime, blue and grey on a dark panel
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:

pages/posts/hello.md · markdown
---
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.pug makes the page a post: it is listed on the home page, in the archive, in the feed and in the search.
  • date orders the posts. Always set it: a file's own date changes whenever the file is copied. updated adds "Updated" to the author line.
  • description is the text on a card and the summary in the feed; lead is the larger line under the title.
  • tags links the post to a tag page per tag, such as Writing.
  • series and series_part join posts into a series: the line above the title and the list of parts under the post. The home page shows the series named in blog.featured_series in config/theme.yaml.
  • image and image_alt give the post a picture above the text and on its card. Put the file in theme/assets/images/; the alt text says what the picture shows.
  • facts is a small box of up to four figures beside the text, each a label and a value.
  • is_post: true marks the post for search engines: it gets a BlogPosting in 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.