Page metadata
Every page starts with frontmatter—YAML metadata enclosed by--- at the beginning of your file. This metadata controls how your page appears and behaves.
The title of your page that appears in navigation and browser tabs.
A brief description of what this page covers. Appears under the title and improves SEO.
A short title that displays in the sidebar navigation.
An icon next to your page title in the sidebar. Choose an icon from Font Awesome, Lucide, or use a custom URL. Configure your preferred icon library with the icons library setting.
A tag that appears next to your page title in the sidebar.
Example YAML frontmatter
Page mode
Control how your page displays with themode setting.
Default
If no mode is defined, defaults to a standard layout with a sidebar navigation and table of contents.Wide
Wide mode hides the table of contents. This is useful for pages that do not have any headings or if you prefer to use the extra horizontal space.Custom
Custom mode provides a minimalist layout that removes all elements except for the top navbar. Custom mode is a blank canvas to create landing pages or any other unique layouts that you want to have minimal navigation elements for.Center
Center mode removes the sidebar and table of contents, centering the content. This is useful for changelogs or other pages where you want to emphasize the content.API pages
Create interactive API playgrounds by adding an API specification to your frontmatter,api or openapi.
External links
Link to external sites directly from your navigation with theurl metadata.
Search engine optimization
Most SEO meta tags are automatically generated. You can set SEO meta tags manually to improve your site’s SEO, social sharing, and browser compatibility.Meta tags with colons must be wrapped in quotes.
Internal search keywords
Enhance a specific page’s discoverability in the built-in search by providingkeywords in your metadata. These keywords won’t appear as part of the page content or in search results, but users that search for them will be shown the page as a result.