FrontMatter

frontmatter are metadata that are used by layout and partial component to create the final HTML document.

Example

Markdown Page (md, mdx)

In a markdown Page

markdown
---
title: My title
layout: holy
---

Programmatic Page (tsx, jsx)

In a programmatic page

ts
export const frontmatter = {
    title: "My page title",
    layout: "holy"
}

List of metadata

  • name: The page name
  • title: The page title
  • description: The page description
  • layout: The layout applied (default to holy)