Skip to content

Frontmatter API

Frontmatter controls page-level configuration in VitePress.

Sections

  • - Hero runtime frontmatter contract
  • - Global and page-level frontmatter
  • - Content and UI component frontmatter
  • - Sidebar auto-generation configuration
  • - Key inventory and complete field list

Developer Reference

  • - High-level engineering rules for template changes
  • - Contract-first change order and verification steps
  • - Placement guide for components, runtime, config, plugins, and styles
  • - Extend typography, floating items, shaders, backgrounds, and nav/search visuals