mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-06-09 18:34:02 +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/introduction/releasenotes/7
|
@ -10,9 +10,17 @@ weight = -6
|
|||
|
||||
### New
|
||||
|
||||
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The free menu configuration for the main menu area, [introduced in 7.1.0](introduction/releasenotes/7/1), is extended to the non-scolling menu header area between search box and main scrolling area using the `sidebarheadermenus` option.
|
||||
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The menu configuration for the main menu area, [introduced in 7.1.0](introduction/releasenotes/7/1), is extended to the non-scrolling menu header area between search box and main scrolling area using the `sidebarheadermenus` option and to the menu footer area using the `sidebarfootermenus` option.
|
||||
|
||||
The [configuration for all sidebar menus](/configuration/sidebar/menus#defining-sidebar-menus) is similar.
|
||||
The [configuration for all sidebar menus](/configuration/sidebar/menus#defining-sidebar-menus) is similar and now comes with two new types of menus.
|
||||
|
||||
The `divider` type adds a horizontal ruler.
|
||||
|
||||
The `custom` type allows to insert any HTML snippets into the menu. The HTML must be wrapped in a `li` element to not break HTML validation. The theme ships with the following snippets:
|
||||
|
||||
- `languageswitcher`: will display the language switcher
|
||||
- `variantswitcher`: will display the variant switcher
|
||||
- `historyclearer`: will display a button to clear the history of visited links
|
||||
|
||||
You don’t need to change anything in your existing installation as the old configuration is used as a default.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue