Customization & ConfigurationPage Configuration
Customization & Configuration

Page Configuration

Reference for configuring page-level metadata using MDX front matter, including title, description, SEO properties, and structured data.

Front matter is a block of YAML configuration placed at the very top of an MDX file, enclosed by triple-dashed lines (---). It allows you to define metadata for each page individually.

---
title: "Introduction"
description: "Learn about the core concepts and get started with our platform."
---

Properties

titlestring
Required

The main title of the page. Used for the browser tab, navigation, search results, and social sharing cards.

descriptionstring

A brief summary of the page content (120-160 characters). Used for SEO meta descriptions and social sharing cards.

ogImagestring

The URL for a custom Open Graph image (1200x630px recommended) to use for social sharing cards. Overrides the auto-generated image.

canonicalstring

The canonical URL for the page to prevent duplicate content issues. Defaults to the page's own URL.

jsonLdobject | array

Adds JSON-LD structured data for rich search results, conforming to Schema.org vocabulary. The key can also be jsonld (lowercase).

You can also include any other custom key-value pairs in your front matter. This data is not used by default but can be accessed for custom component or theme logic.