Optional Frontmatter Fields
Optional fields refine how pages appear and behave. Use them when they add clarityβskip them when they do not.
navLabel
Shorten or rename the sidebar label without changing the title.
---
title: "Frequently Asked Questions About Deployment"
navLabel: "Deployment FAQ"
---
navIcon
Add visual affordance in the sidebar.
---
navIcon: "π" # Emoji
# or
navIcon: "book" # Icon name from your icon set
---
navHidden
Hide the page from navigation while keeping the URL accessible (useful for drafts or landing pages).
---
navHidden: true
---
draft
Exclude the page from production builds.
---
draft: true
---
authors
Credit contributors or set ownership.
---
authors: ["Alice", "Bob"]
---
tags (custom)
If you extend the schema, tags help grouping or search.
---
tags: ["api", "reference", "v2"]
---
When to Use Optional Fields
- Use
navLabelfor long titles - Use
navIconsparingly so the sidebar stays consistent - Use
navHidden+draftduring in-flight work - Add
authorsfor high-ownership pages (SLAs, runbooks)
Next Steps
- Enforce labels and visibility in Navigation Overrides
- Review mandatory fields in Required Frontmatter Fields