Front Matter (Markdown)

YAML front matter block used in Markdown files.

Open in YAML Validator

About this format

Static site generators like Hugo and Jekyll use YAML front matter at the top of Markdown files to define page metadata.

Example Data

title: "My Blog Post"
date: 2024-05-15
tags:
  - tutorial
  - yaml
author: Jane Doe

When to use Front Matter (Markdown)

  • Setting blog post titles and dates
  • Categorizing content with tags
  • Defining layout templates