Skip to content

SCHEMA — navigation

One YAML menu per navigation surface, consumed by the theme gem's navigation includes.

Structure

entry kind purpose rules
docs.yml file Docs sidebar tree — used by pages with sidebar: nav: docs frontmatter
home.yml file Header quick-access icon links (top-level title/icon/url entries)
main.yml file Primary navbar with dropdown children — every URL is a real permalink
posts.yml file News/posts section navigation — sections mirror the _posts/ category folders

Placement

  • New surface → <surface>.yml here, referenced from page frontmatter via sidebar: nav: <surface>.