Basedoc Docs

Search...
K
Creating content

Frontmatter

Frontmatter is a term used to describe the YAML content at the top of your Markdown pages.

It is used to describe and configure your pages outside the Markdown body, like setting the title and description, or defining an API endpoint.

title

Title is required for every page.

YAML
---
title: Page title
---

description

The description is optional. It is displayed just beneath the page title on the page, and also added to the page's description for search engine results.

YAML
---
title: Page title
description: Short summary of the page.
---

© Basedoc Docs

Powered by Basedoc

On this page