Frontmatter
Every frontmatter field a page accepts, all optional — title, description, sidebar, SEO, search, and the rest, with what each one controls.
Every page accepts the following frontmatter. All fields are optional.
title?string
Page title.
stringdescription?string
Page summary.
stringtype?string
Content type. blog/changelog drive feeds.
stringdocdate?string
Publish date for blog/changelog feeds (ISO or YAML date).
stringauthors?string | string[] | object[]
Post author(s) for blog/changelog content — a name, or objects with a name plus optional avatar/url and any extra fields. Preserved as-is.
string | string[] | object[]slug?string
Override the generated slug.
stringdraft?boolean
Exclude from production builds.
booleanfalsedeprecated?boolean
Mark the page deprecated: its sidebar row gets a deprecated pill (a translatable UI string).
booleanfalsehidden?boolean
Shorthand for sidebar.hidden.
booleanfalsenoindex?boolean
Shorthand for seo.noindex.
booleanfalseicon?string
Lucide icon for the page's sidebar row when sidebar.icon isn't set (sidebar.icon wins).
stringlastModified?string
Pin the page's "last updated" date (ISO or YAML date); overrides the git-derived date.
stringSidebar
sidebar:
label: Install
order: 2
icon: download
badge: New
hidden: false
display: page
hidden removes the page from the sidebar and from previous/next pagination. On a folder’s index page it removes only the page’s own row: the group row keeps linking to the page, and previous/next links still pass through it.
display sets the render mode of the page’s folder group (per-group overrides) and is only meaningful on a folder’s index page under the generated sidebar — anywhere else (a non-index page, the content root’s own index page, or any page under an explicit navigation.sidebar) it has no group to configure, and Blume warns with BLUME_SIDEBAR_DISPLAY_IGNORED.
SEO
seo:
title: Install Blume
description: Install Blume and scaffold your first project.
image: /og/install.png
canonical: https://acme.com/install
noindex: false
x:
creator: "@jane"
noindex emits a robots noindex, drops the page from the sitemap, and skips its structured data. x.creator credits the page to an X account (twitter:creator) — a guest post’s author, say. See Metadata for every field.
Search
search:
exclude: false
tags: [api]
AI
ai:
exclude: true
ai.exclude keeps the page out of llms.txt and llms-full.txt. The page still renders, stays in search, and keeps its place in the sitemap.
Changelog
Changelog entries (type: changelog) accept an optional changelog object for richer feed and display metadata:
type: changelog
changelog:
version: 1.2.0
date: 2026-06-20
category: Features
date may live here or at the top level — both feed the changelog RSS feed. See Changelog for the generated timeline page and feed.
Custom keys
Any key outside this reference fails the build, so typos are caught early. Projects that carry their own metadata can opt extra keys in via frontmatter.extend in blume.config.ts, each validated by a schema the project supplies:
import { defineConfig } from "blume";
import { z } from "zod";
export default defineConfig({
frontmatter: {
extend: {
owner: z.string(),
reviewedAt: z.coerce.date().optional(),
},
},
});
---
title: Install
owner: "@sam"
reviewedAt: 2026-06-20
---
Schemas are accepted through the Standard Schema interface, so Zod (whichever version your project installs), Valibot, and ArkType all work. Every declared key is validated on every page — absent ones included — so a required schema enforces the key site-wide; mark it .optional() to validate only where present. All other keys stay strictly validated, and built-in fields can’t be redeclared.
Per-type keys
To require keys only on one content type — an RFC’s status, an incident report’s severity — declare them under content.types instead, keyed by the frontmatter type they apply to:
import { defineConfig } from "blume";
import { z } from "zod";
export default defineConfig({
content: {
types: {
rfc: {
frontmatter: {
domain: z.string(),
status: z.enum(["draft", "review", "enforced"]),
},
},
},
},
});
---
title: OpenAPI request schemas
type: rfc
domain: architecture
status: enforced
---
Per-type keys follow the same validation rules as extend, scoped to pages whose resolved type matches — including pages that set no type, when the declaration is for content.defaultType. A key belongs to one declaration, site-wide or per-type, not both. And a key declared only for another type stays unknown elsewhere, so a stray status on a plain doc page still fails the build.
A page that fails validation fails blume build with a diagnostic naming the file and key. With --no-strict, the build succeeds anyway and the failing pages are dropped from the output — the build summary reports how many.
Schemas are exported from blume/schema for editor and migration tooling.