Frontmatter
Frontmatter contains the metadata for a page, such as the title
. It is written as YAML, between ---
, at the top of the page.
For example, this is the frontmatter for the page you're on now!
---title: Frontmatterdescription: | You can customize individual Markdown and MDX pages in Starlight by setting values in their frontmatter. For example, a regular page might set title and description fields.sidebar: order: 3---
For more information on the available fields, please refer to Starlight's documentation ↗.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark