Skip to content

Front Matter

A metadata block at the beginning of a Markdown file, separated by lines ---. It contains administrative information such as the title, date, and tags.

Example

---
title: My Post
date: 2026-08-18
tags:
  - ai
  - rag
---

# Post Text

Why It Is Needed

Generators and CMS read the front matter to understand how to process the file: where to place it, which tags to apply, and which date to display. The body of the file is the content, while the front matter is the metadata.

See Also

← All Terms