hugo-material-docs
hugo-material-docs copied to clipboard
nested menus
is it possible to have more than one level of nested menus on the navigation bar? if so how do you do it?
I want something like:
Section | |______Sub Section | |_____________Sub Sub Section |______Sub Section 2
I am having issues with this as well.
I have tried adding a new content file to the exampleSite under content/getting-started, for example (which previously only contained an index.md). In the front-matter for this new content file, I reference getting-started (defined in the config.toml) as the parent:
title: Thomas content (other)
menu:
main:
parent: "Getting started"
My menu item does show up nested under the Getting started menu item, is selectable, and the sub-sections (h2 tags) show up as expected. However, the original (parent) "Getting Started" menu item is now grayed out, and you cannot select it or see any of its contents or h2 entries:

I've also tried adding an identifier = to the menu entry in config.toml and referencing that instead of the name "Getting started" with the same results.