Sidebar Navigation
The sidebar is built from two content sources:
- Docs entries in
src/content/docs - Custom link entries in
src/content/sidebar-links
Add a Custom Sidebar Link
Create a new file in src/content/sidebar-links, for example github.md:
---
title: GitHub
href: https://github.com/your-org/your-repo
section: Resources
order: 10
open_in_new_tab: true
---Frontmatter Fields
title(required): display labelhref(required): URL or internal pathsection(required): group heading in the sidebarorder(optional): sort order inside a sectionopen_in_new_tab(optional): forces a new tabdraft(optional, defaultfalse): hides the entry whentrue
Grouping and Sorting Rules
- All items are grouped by
section. - Sections are sorted alphabetically.
- Items are sorted by
order, thentitle. - If
open_in_new_tabis missing, externalhttp(s)links open in a new tab by default.
Example Draft Entry
src/content/sidebar-links/example-link.md is included as a draft reference. Set draft: false (or remove draft) to show it.