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

39 lines
1.2 KiB
Markdown
Raw Normal View History

+++
2024-10-07 13:30:53 +00:00
description = "Configuration options for the Relearn theme"
2024-09-29 21:48:56 +00:00
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-07 13:30:53 +00:00
This page explains how to configure the Relearn theme in your `hugo.toml` file.
2024-10-07 13:30:53 +00:00
In addition to [Hugo's standard options](https://gohugo.io/getting-started/configuration/#all-configuration-settings), the Relearn theme offers extra settings listed here.
2024-10-06 14:45:11 +00:00
2024-10-07 13:30:53 +00:00
Throughout the documentation, theme-specific options are marked with a {{% badge style="cyan" icon="gears" title=" " %}}Option{{% /badge %}} badge.
2024-10-06 18:37:18 +00:00
2024-10-07 13:30:53 +00:00
Add theme options to the `params` section of your `hugo.toml`. For example:
2024-10-06 18:37:18 +00:00
{{< 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-07 13:30:53 +00:00
Here's a list of all available options with example values. Default values are described in the [annotated example][annotated example](#annotated-configuration-options) below in each option's 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" %}}
````