hugo-theme-relearn/exampleSite/content/configuration/options/_index.en.md

39 lines
1.2 KiB
Markdown
Raw Normal View History

+++
2024-09-29 23:48:56 +02:00
description = "All configuration options of the Relearn theme"
tags = ["reference"]
2024-09-21 13:05:58 +02:00
title = "Options Reference"
2024-09-29 23:48:56 +02:00
weight = 6
+++
2024-10-06 16:45:11 +02:00
You can set configuration options in your `hugo.toml`.
2024-10-06 20:37:18 +02:00
On top of [Hugo's configuration options](https://gohugo.io/getting-started/configuration/#all-configuration-settings), you can use the additional theme settings listed below.
2024-10-06 16:45:11 +02:00
2024-10-06 20:37:18 +02:00
A configuration option provided by the theme is marked with a {{% badge style="cyan" icon="gears" title=" " %}}Option{{% /badge %}} badge throughout the documentation.
You set each theme configuration option in the `params` section of your `hugo.toml`. For example, setting `math`
{{< multiconfig file=hugo >}}
[params]
math = true
{{< /multiconfig >}}
## Index
{{% taxonomy "options" "h3" %}}
2024-03-02 11:04:52 +01:00
2024-10-06 16:45:11 +02:00
## All Configuration Options
2024-03-02 11:04:52 +01:00
2024-10-06 16:45:11 +02:00
The example reflect example values. The defaults can be taken from the [annotated example](#annotated-configuration-options) below or the individual documentation.
2024-10-04 15:44:13 +02:00
{{< multiconfig file=hugo section=params >}}
2024-03-02 11:04:52 +01:00
{{% include "config/_default/params.toml" %}}
{{< /multiconfig >}}
2024-10-06 16:45:11 +02:00
## Annotated Configuration Options
2024-03-02 11:04:52 +01:00
````toml {title="hugo.toml"}
2023-11-16 22:51:45 +01:00
[params]
{{% include "config/_default/params.toml" %}}
````