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

# Frontmatter

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.

`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.
