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 →

Learn2 Menu Customisation

Started by Muut Archive 9 years ago · 0 replies · 1804 views
9 years ago

Still starting with Grav and no Twig experience, so apologies, this is probably a basic question.

I'm using Learn2 theme. I'm essentially trying to fake multi-site by having top level pages not on the menu. Access the top level page from the URL and then for the menu to show the sub-pages and sub-sub pages etc as the structure.

I tried, but just can't restrict the menu to only display links belonging to the active top level page. If this is something simple enough and someone could post a snippet of some sort, I would be very grateful! Thanks!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 671 1 week ago
Archive · by Deleted User, 9 years ago
0 3041 9 years ago
Archive · by Muut Archive, 9 years ago
2 1980 9 years ago
Archive · by Muut Archive, 9 years ago
2 5335 9 years ago
Archive · by Muut Archive, 9 years ago
1 4133 9 years ago