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

Menu with pages of Level 1 & Level 2 (selective)

Started by Paul Langenfeld 4 years ago · 0 replies · 430 views
4 years ago

Hello Currently I'm trying to get a handle on the menu, which unfortunately I can't.

I would like to create a menu structure, in the pages from level 1 of the pages this also works wonderfully.

I would like to create a menu structure that includes pages from level 1 and pages from level 2. However not all, but only selectively chosen pages. E.g. I would like to have topic_1, topic_2 and topic_3, beside about ... and the imprint in the menu.

So the menu should selectively consist of level 1 and level 2.

I have already inserted "onpage_menu: true", but without success.

How could I do something like this with the Antimatter Theme?

Thanks in advance.

The structure:

TXT
root
about_this_blog (default -> visible in MENU)
blog (NOT visible, ??? -> NOT visible in Menu)
    topic_1 (as a blog -> visible in MENU)
        item_page_01
        item_page_02
        item_page_03
        item_page_xx
    topic_2 (as a blog -> visible in MENU)
        item_page_01
        item_page_02
        item_page_03
        item_page_xx
    topic_3 (as a blog -> visible in MENU)
        item_page_01
        item_page_02
        item_page_03
        item_page_xx
imprint (default -> visible in MENU)
about_me (default -> visible in MENU)

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 170 1 week ago
Support · by nwhitfield, 1 week ago
2 149 1 week ago
Support · by stell, 3 weeks ago
5 379 2 weeks ago
Support · by gravinator, 1 month ago
5 572 2 weeks ago
Support · by Gravver, 3 weeks ago
6 356 3 weeks ago