Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Show folders in navigation, modular subpages not

Started by Christoph 9 years ago · 3 replies · 1392 views
9 years ago

Hello,
I'd like to have this navigation menu (without modular onepage skeleton subpages):
01.modular-home (modular)
03.standard-page-3

02-standard-page-2 and the subpages of the 01.home skeleton should not be outputed in the navigation menu.

I'm using the onepage skelton from the big-picture theme
Can anyone help?

last edited 07/12/17 by Christoph
9 years ago

Are you using the Antimatter theme? You could try adding the following to the 01.home page (assuming this page uses modular content) frontmatter:

TXT
onpage_menu: false
9 years ago

I'm using the big-picture one-page skeleton

I have inserted it but can't get it to work with the frontmatter code. I ve set it on top of the modular.de.md file in the 01.home folder but it doesn't take any effect.

I also read https://github.com/getgrav/grav-plugin-admin/issues/72

I would just like to reduce the amounts of entries in the navigation menu because big-picture theme doesn't have the responsive design "hamburger", so the entries overflow (even faster on little screens of course).

At the moment I use #nav {display:none;}

I've contacted the contributer of the theme.
https://github.com/tranduyhung/grav-skeleton-big-picture/issues/3

last edited 07/12/17 by Christoph
9 years ago

You have to change this in template file header.html.twig

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 8 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago