2021-10-17 18:26:00 +02:00
---
2022-12-22 17:24:59 -08:00
title: About Frontmatter
2024-11-18 11:05:16 +01:00
sidebar_position: 10
2021-10-17 18:26:00 +02:00
---
2021-08-25 16:09:31 +02:00
2022-12-25 21:34:36 -08:00
Frontmatter is a way to add metadata to Markdown documents.
2021-08-25 16:09:31 +02:00
Frontmatter sits at the top of the file (it's matter that's at the front) and is
2024-11-18 11:05:16 +01:00
surrounded by lines with three dashes on them. It contains several keys with a value.
2023-04-10 16:27:56 +00:00
2024-11-18 11:05:16 +01:00
The `title` key is required on every page, it holds the title of the page.
2023-04-10 16:27:56 +00:00
2023-04-27 19:16:00 +02:00
The `order` key is not required and can be used to sort pages in a certain order, if there is no order key then the pages will be sorted alphabetically.
2021-08-25 16:09:31 +02:00
```md
---
2023-04-10 16:27:56 +00:00
title: About Frontmatter
2024-11-18 11:05:16 +01:00
sidebar_position: 20
2021-08-25 16:09:31 +02:00
---
```
2024-01-29 08:43:38 -08:00
<ReadMore />