---
title: "Frontmatter"
url: https://docs.sentry.io/contributing/pages/frontmatter/
---

# Frontmatter | Sentry Docs

Frontmatter a YAML-formatted blob defined at the top of every markdown or mdx file:

```markdown
---
title: Doc Title
---

Markdown or MDX content
```

Standard frontmatter will apply on nearly every page:

`title`

Document title - used in `<title>` as well as things like search titles.

`noindex` (false)

Set this to true to disable indexing (robots, algolia) of this content.

`notoc` (false)

Set this to true to disable page-level table of contents rendering.

`new_until`

Shows a "NEW" badge next to the page title and in the sidebar until this date, for example `new_until: 2027-02-17`. The date is interpreted as UTC.

The badge is static: whether it shows is decided when the docs are built, not when someone views the page. A build that runs before the date shows the badge, and a build that runs on or after the date doesn't. This means the badge disappears at the first deploy on or after the date, not exactly on the date. You don't need to remove `new_until` by hand.

`beta` (false)

Set this to true to show a "BETA" badge next to the title in the sidebar.

`early_access` (false)

Set this to true to show an "EA" (early access) badge next to the title in the sidebar.

`draft` (false)

Set this to true to mark this page as a draft, and hide it from various other components (such as the PageGrid).

`keywords` (\[])

A list of keywords for indexing with search.

`description`

A description to use in the `<meta>` header, as well as in auto generated page grids.

`sidebar_order` (10)

The order of this page in auto generated sidebars and grids.

Much of the other functionality for pages is also driven via frontmatter, such as:

* [Redirects](https://docs.sentry.io/contributing/pages/redirects.md)
* [Search](https://docs.sentry.io/contributing/pages/search.md)

`nextPage` (`{ path: 'path/to/page', title: 'Page Title' }`)

Overrides the next page shown in the bottom pagination navigation.

`previousPage` (`{ path: 'path/to/page', title: 'Page Title' }`)

Overrides the previous page shown in the bottom pagination navigation.
