frontmatter.md
Frontmatter
MarkdownFrontmatter
Files may start with simple YAML-style frontmatter:
---
title: My Note
publish: true
---
Recognized fields:
| Field | Effect |
|---|---|
title | Sets the page title. Without it, Onyx uses the first # Heading, then the filename. |
publish: false | Excludes the note from the build. |
draft: true | Excludes the note from the build. |
Frontmatter parsing is intentionally small: key: value lines between opening and closing --- markers.
See Configuration for site-wide settings in onyx.ini.
Linked From
- Markdown Support markdown.md
- Onyx index.md