Sidebar Navigation

The sidebar is built from two content sources:

  • Docs entries in src/content/docs
  • Custom link entries in src/content/sidebar-links

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 label
  • href (required): URL or internal path
  • section (required): group heading in the sidebar
  • order (optional): sort order inside a section
  • open_in_new_tab (optional): forces a new tab
  • draft (optional, default false): hides the entry when true

Grouping and Sorting Rules

  • All items are grouped by section.
  • Sections are sorted alphabetically.
  • Items are sorted by order, then title.
  • If open_in_new_tab is missing, external http(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.

dqnamo