Skip to content
MementropyKnowledge
DocsKnowledge base

Frontmatter Patterns

The Starlight frontmatter fields most worth using in the early life of this docs site.

The fields below are enough to get most pages right without overthinking configuration.

---
title: Page Title
description: One-sentence summary of the page.
---

Use template: splash for landing pages like the homepage.

Leave the default doc layout for normal content pages.

Set tableOfContents: false on short runbooks and checklists where the right rail would just be noise.

Set editUrl: false if a page should not show an edit link.

Use this to label pages like new, stub, or recommended.

sidebar:
badge:
text: stub
variant: tip

Use hero only on splash pages that need a landing-page feel.

hero:
tagline: Short supporting sentence.
actions:
- text: Start Here
link: /docs/guides/getting-started/
icon: right-arrow
  • Put the real page summary in description; it helps readers and metadata.
  • Avoid heavy frontmatter unless the page actually needs it.
  • Keep layout decisions boring and consistent until the content model is stable.