Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Modular pages not showing up in navigation

theme

Solved by pamtbaau View solution

Started by Manuel Figueiredo 6 years ago · 2 replies · 1255 views
6 years ago

Hello, I'm using the Quark Theme and I'm trying to show all modular pages on root level as nav-items. All Pages except the "services" and "hero" subpages are set to visible and routable. Here's my current structure:

grav_pages|690x196

As of this picture, I would like to show "Startseite", "Dienstleistungen" and "Ausbildung" in the navigation bar. All current and upcoming modular subsites (e.g. "hero" or "services") shouldn't be visible in navigation.

Has anybody already faced this problem or could someone provide a solution for this?

Thanks

6 years ago Solution

@mcld, Showing child modules in the menu is enabled/disabled by setting onpage_menu: true/false in the frontmatter of modular.md.

Have you tried that?

6 years ago

@pamtbaau:
onpage_menu: true/false

Wonderful! Thank you for your answer - worked for me 🙂

Suggested topics

Topic Participants Replies Views Activity
Support · by Paul Hodges, 4 weeks ago
19 491 6 days ago
Support · by Lauw, 1 week ago
2 107 1 week ago
Support · by Anna, 3 weeks ago
4 431 1 week ago
Support · by gtx, 4 weeks ago
4 380 3 weeks ago
Support · by Anna, 1 month ago
9 487 4 weeks ago