Frontmatter
zpress manages frontmatter automatically. Source files keep their original frontmatter, and zpress merges additional fields at build time.
Injecting frontmatter
Set frontmatter on any entry to inject fields into the output page:
The source file is never modified. Frontmatter is merged into the synced copy.
Inheritance
Frontmatter set on a section applies to all children:
Both auth.md and users.md inherit aside: 'left' and editLink: false.
Merge order
Fields are merged with this precedence (highest wins):
- Source file frontmatter (what's already in the
.mdfile) - Entry-level
frontmatter - Inherited section
frontmatter
A page's own frontmatter always takes precedence over inherited values.
References
- Frontmatter Fields reference — complete field reference with types, defaults, and format details