Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

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

Started by Paul Langenfeld 4 years ago · 0 replies · 349 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 Paul Hodges, 4 weeks ago
19 489 6 days ago
Support · by Lauw, 1 week ago
2 106 7 days ago
Support · by Anna, 3 weeks ago
4 428 1 week ago
Support · by gtx, 4 weeks ago
4 379 3 weeks ago
Support · by Anna, 1 month ago
9 487 4 weeks ago