---
title: Frontmatter · Cloudflare Style Guide
description: >
  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.
lastUpdated: 2024-10-14T11:03:17.000Z
chatbotDeprioritize: true
source_url:
  html: https://developers.cloudflare.com/style-guide/frontmatter/
  md: https://developers.cloudflare.com/style-guide/frontmatter/index.md
---

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!

```mdx
---
title: Frontmatter
description: |
    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](https://starlight.astro.build/reference/frontmatter/).
