Skip to Content
Nextra DocsFrontmatter

Frontmatter

Frontmatter is YAML metadata at the top of an MDX file, wrapped in --- delimiters. It lets you set page-level properties.

Basic example

--- title: My Page Title description: A brief description of this page. --- # Page content starts here

Common fields

title

Sets the page <title> tag (shown in the browser tab). If not set, the first # heading is used.

title: MFA Enforcement Report

description

Sets the <meta name="description"> tag for SEO.

description: Check which users have MFA methods registered in Entra ID.

sidebarTitle

Overrides the sidebar display name for this page. Useful when the full title is too long for the sidebar.

sidebarTitle: MFA Report

asIndexPage

Marks a non-index.mdx file as the index page for its folder.

asIndexPage: true

Full example

--- title: Permission Audit (Multi-Tenant) description: Comprehensive Entra ID permission audit across multiple tenants. sidebarTitle: Multi-Tenant Audit --- # Permission Audit (Multi-Tenant) Content goes here...
Last updated on