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

39 lines
1.2 KiB
Markdown
Raw Normal View History

+++
2024-09-29 21:48:56 +00:00
description = "All configuration options of the Relearn theme"
tags = ["reference"]
2024-09-21 11:05:58 +00:00
title = "Options Reference"
2024-09-29 21:48:56 +00:00
weight = 6
+++
2024-10-06 14:45:11 +00:00
You can set configuration options in your `hugo.toml`.
2024-10-06 18:37:18 +00: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 14:45:11 +00:00
2024-10-06 18:37:18 +00: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 10:04:52 +00:00
2024-10-06 14:45:11 +00:00
## All Configuration Options
2024-03-02 10:04:52 +00:00
2024-10-06 14:45:11 +00: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 13:44:13 +00:00
{{< multiconfig file=hugo section=params >}}
2024-03-02 10:04:52 +00:00
{{% include "config/_default/params.toml" %}}
{{< /multiconfig >}}
2024-10-06 14:45:11 +00:00
## Annotated Configuration Options
2024-03-02 10:04:52 +00:00
````toml {title="hugo.toml"}
2023-11-16 21:51:45 +00:00
[params]
{{% include "config/_default/params.toml" %}}
````