Structured Sections

Structured Content Sections

Structured sections let you define multiple named content regions within a single markdown file, without needing the directory overhead of modular pages. Each section is independently rendered from markdown to HTML and accessible in templates via page.sections.<name>.

Section Markers

Add ---section: name--- on its own line to start a new named section. Everything before the first marker is the default content (page.content). Section names must be valid identifiers (letters, digits, underscores).

---
title: Landing Page
template: landing
---
# Welcome

This main content appears as page.content.