Adding Wiki Pages

Drop a markdown file in any folder under src/wiki/. The folder name becomes the tab, and the file shows up in the sidebar automatically.

Frontmatter options

YAML
---
title: Page Title          # page <title> and heading
navTitle: Short Name       # sidebar label (falls back to title)
order: 1                   # sort position in sidebar
tabLabel: Display Name     # tab label (only in root index.md)
draft: true                # hide from build
debug: true                # include in dev, exclude in prod
---

Folder structure

Each root folder under src/wiki/ becomes a tab in the sidebar. The index.md inside defines the tab label and order but doesn't render as a page.

Nested folders create collapsible sections. Their index.md renders as a clickable section header.

Text
src/wiki/
├── getting-started/
│   ├── index.md           → tab config (tabLabel, order)
│   ├── overview.md        → regular page
│   └── running-locally.md → regular page
├── android/
│   ├── index.md           → tab config
│   ├── some-page.md       → root-level page
│   └── utils/             → collapsible section
│       ├── index.md       → section header (clickable)
│       └── emulator.md    → child page

Project structure

Text
src/
├── _includes/       → Layouts and partials (Nunjucks)
├── content/         → Blog post template
├── css/             → Static CSS (GitHub markdown themes)
├── js/              → Client-side scripts
├── scss/            → Styles (compiled to CSS)
├── wiki/            → Wiki pages (this section)
├── pages/           → Static pages (about, contact, etc.)
└── img/             → Images and favicon

Configuration

Everything is in blog.config.mjs at the project root. Site name, theme defaults, code block settings, contact form providers — it's all there. See the Configuration reference for the full list.