mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-07-22 23:32:29 +00:00
menu: make footer area configurable #1059
This commit is contained in:
parent
566c17d000
commit
b89d1e3fb6
33 changed files with 597 additions and 385 deletions
docs/content/configuration/branding/colors
|
@ -54,7 +54,7 @@ In the above example, the path of your theme file must be `assets/css/theme-rele
|
|||
|
||||
#### Multiple Variants
|
||||
|
||||
To let the reader choose between multiple variants, set `themeVariant` like this:
|
||||
To let the reader choose between multiple variants by displaying a variant switcher, set `themeVariant` like this:
|
||||
|
||||
{{< multiconfig file=hugo >}}
|
||||
[params]
|
||||
|
@ -63,6 +63,8 @@ To let the reader choose between multiple variants, set `themeVariant` like this
|
|||
|
||||
The first variant is the default, and a selector will appear if there's more than one.
|
||||
|
||||
If you want to have more control, where the variant switcher is positioned or you want to configure a different icon, see the [chapter on sidebar configuration](configuration/sidebar/menus#defining-sidebar-menus).
|
||||
|
||||
#### Adjust to OS Settings
|
||||
|
||||
Use the `auto` value to match OS light/dark settings. Usually it makes sense to set it in the first position and make it the default.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue