Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Modular pages not showing up in navigation

theme

Solved by pamtbaau View solution

Started by Manuel Figueiredo 6 years ago · 2 replies · 1342 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 webmasterodp, 1 week ago
4 160 7 days ago
Support · by nwhitfield, 1 week ago
2 139 1 week ago
Support · by stell, 3 weeks ago
5 371 2 weeks ago
Support · by gravinator, 1 month ago
5 564 2 weeks ago
Support · by Gravver, 3 weeks ago
6 348 3 weeks ago