March 18, 2026

v0.6.0 — Site Primitives

New primitives for building richer content sites — blogs, knowledge bases, changelogs — without a separate mode.

Link between pages using [[Page Title]] syntax:

See [[Configuration]] for all options.

Links resolve by page title (case-insensitive). Unknown targets render as plain text.

Date and draft frontmatter

Pages can now have date and draft fields:

---
title: My Post
date: 2026-03-18
draft: true
---

Draft pages are excluded from the build entirely — no output, no nav, no search index, no feed.

RSS feed

Enable in config.toml:

[feed]
enabled = true
link = "https://your-site.com"

Only pages with date are included, sorted newest first. See Configuration for all feed options.

Page listings

Templates and shortcodes can access all pages via {{ .Pages }} and {{ .SectionPages "section" }}. See Layouts and Shortcodes for details.

Date-aware nav sorting

Sections where pages have date frontmatter automatically sort newest first in the sidebar. No configuration needed.

Full timestamp support

Dates now accept YYYY-MM-DD, YYYY-MM-DD HH:MM, and YYYY-MM-DDTHH:MM:SS. This lets same-day entries control their order precisely.

Date display and formatDate

Pages with a date show it above the content in the built-in layout (e.g. "March 18, 2026"). The formatDate template function is available in custom layouts too.

RSS icon in topnav

When feed.enabled = true, the built-in layout shows an RSS icon in the top navigation bar linking to feed.xml. A <link rel="alternate"> tag is also added for feed autodiscovery by browsers and readers.

Built-in rss icon

A new rss icon is available for [[links]] and [[topnav]] config, alongside github.

Section index pages can set nav_children: false to collapse the sidebar — the section appears as a single link to the index instead of expanding all children. Useful for changelogs, blog archives, and other sections that grow over time. See Conventions for details.

listing shortcode

A new built-in-ready shortcode example for listing pages in a section with dates and descriptions. See Shortcodes for the template.

Fixes

  • Feed URLs no longer double the base_path when feed.link already includes it
  • GitHub icon in sidebar and topnav links now aligns vertically with text