Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

nested menus #70

Open
wonslung opened this issue Jul 5, 2017 · 1 comment
Open

nested menus #70

wonslung opened this issue Jul 5, 2017 · 1 comment

Comments

@wonslung
Copy link

wonslung commented Jul 5, 2017

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

@tblom
Copy link

tblom commented Jul 22, 2017

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:

screen shot 2017-07-21 at 11 26 08 pm

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants