38 lines
1.1 KiB
Markdown
Raw Normal View History

+++
2024-10-11 16:27:13 +02:00
description = "All front matter for the Relearn theme"
tags = ["reference"]
title = "Front Matter Reference"
2024-10-11 16:27:13 +02:00
weight = 8
+++
2024-10-07 15:30:53 +02:00
Every Hugo page must have front matter.
2024-10-07 15:30:53 +02:00
In addition to [Hugo's standard front matter](https://gohugo.io/content-management/front-matter/#fields), the Relearn theme offers extras settings listed here.
2024-10-06 20:37:18 +02:00
2024-10-07 15:30:53 +02:00
Throughout the documentation, theme-specific front matter is marked with a {{% badge style="green" icon="fa-fw fab fa-markdown" title=" " %}}Front Matter{{% /badge %}} badge.
2024-10-06 20:37:18 +02:00
2024-10-07 15:30:53 +02:00
Add theme front matter directly to the root of your page's front matter. For example:
2024-10-06 16:45:11 +02:00
2024-10-06 20:37:18 +02:00
{{< multiconfig fm=true >}}
math = true
{{< /multiconfig >}}
## Index
{{% taxonomy "frontmatter" "h3" %}}
2024-10-06 16:45:11 +02:00
## All Front Matter
2024-10-07 15:30:53 +02:00
Here's a list of all available front matter with example values. Default values are described in the [annotated example](#annotated-front-matter) below or in each front matter's documentation.
2024-03-02 11:04:52 +01:00
{{< multiconfig fm=true >}}
{{% include "frontmatter.toml" %}}
2024-03-02 11:04:52 +01:00
{{< /multiconfig >}}
2024-10-06 16:45:11 +02:00
## Annotated Front Matter
2024-03-02 11:04:52 +01:00
````toml {title="toml"}
+++
{{% include "frontmatter.toml" %}}+++
````