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 · 1155 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 Water Science, 3 weeks ago
11 170 7 hours ago
Support · by Duc , 22 hours ago
1 44 22 hours ago
Support · by Thomas, 1 week ago
3 116 1 day ago
Support · by Anna, 4 days ago
2 109 2 days ago
Support · by Justin Young, 2 days ago
1 89 2 days ago