Skip to content

Collapse and expand of items in sidebar do not work correctly. #596

Answered by h-enk
vivekragunathan asked this question in Support
Discussion options

You must be logged in to vote

In ./config/_default/menus/menus.en.toml, make sure to set identifier, like so e,g,:

[[docs]]
  name = "Bash"
  weight = 30
  identifier = "bash"
  url = "/docs/bash/"

And, make sure to match the (correct) identifier in the front matter of a docs page, like so, e.g.:

..
menu:
  docs:
    parent: "bash"
weight: 310
toc: true

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vivekragunathan
Comment options

Answer selected by vivekragunathan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #595 on January 04, 2022 09:46.