Frontmatter controls the page title

In Markdown, the title above becomes both the browser-tab title and the page heading. In MDX, it only controls the browser-tab title, leaving visible headings to the MDX content.

Unknown fields such as description remain valid, while draft: true excludes a page from the build.

Back to examples