Frontmatter Fields
zpress pages support standard Rspress frontmatter fields. Frontmatter is defined in YAML at the top of markdown files or injected via the frontmatter field in config entries.
See the Frontmatter guide for injection and inheritance patterns.
Standard fields
Layout values
Outline values
Aside values
Head format
The head field accepts an array of tuples. Each tuple is [tagName, attributes]:
Equivalent in config-injected frontmatter:
Custom fields
Arbitrary extra fields are supported and passed through to the output. Use custom fields for metadata consumed by plugins or theme components:
Custom fields are accessible in theme components via the page data object.