Frontmatter

Frontmatter is a common authoring convention, originally popularized by Jekyll that lets you add metadata to a page. It consists of a block of key-value pairs placed at the top of a Markdown file.

Elements supports the following frontmatter

  • title

  • date

  • image

  • tags

Title

Generally used for a post or page title.

title: "Hello World"

Date

In the following format, year-month-day.

date: "2025-03-17"

Last updated

Was this helpful?