Skip to content

Commit b7dd826

Browse files
Enable foldable sidebar menu (#31818)
* (feat: sidebar) enable sidebar menu foldable * (feat: sidebar) add comment for params * fix comment format Co-authored-by: championshuttler <[email protected]> Co-authored-by: championshuttler <[email protected]>
1 parent 065ed76 commit b7dd826

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ url = "https://v1-20.docs.kubernetes.io"
217217
[params.ui]
218218
# Enable to show the side bar menu in its compact state.
219219
sidebar_menu_compact = false
220+
# Show expand/collapse icon for sidebar sections.
221+
sidebar_menu_foldable = true
220222
# https://github.com/gohugoio/hugo/issues/8918#issuecomment-903314696
221223
sidebar_cache_limit = 1
222224
# Set to true to disable breadcrumb navigation.

0 commit comments

Comments
 (0)