Skip to content

Commit

Permalink
Update navigation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Aug 7, 2024
1 parent ff24988 commit be50b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userguide/content/en/docs/adding-content/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ By default, the section menu shows the current section fully expanded all the wa

With the compact menu (`.ui.sidebar_menu_compact = true`), only the current page's ancestors, siblings and direct descendants are shown. You can use the optional parameter `.ui.ul_show` to set a desired menu depth to always be visible. For example, with `.ui.ul_show = 1` the first menu level is always displayed.

The number of sidebar entries shown per section can be configured using the `.ui.sidebar_menu_truncate` parameter. The default limit is 50.
The number of sidebar entries shown per section can be configured using the `.ui.sidebar_menu_truncate` parameter (default: 50).

As well as the completely expanded and compact menu options, you can also create a foldable menu by setting the site parameter `ui.sidebar_menu_foldable = true` in `hugo.toml`. The foldable menu lets users expand and collapse menu sections by toggling arrow icons beside the section parents in the menu.

Expand Down

0 comments on commit be50b01

Please sign in to comment.