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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

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

Started by Paul Langenfeld 4 years ago · 0 replies · 256 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 Thomas, 1 week ago
2 54 11 hours ago
Support · by Anna, 3 days ago
2 60 14 hours ago
Support · by Justin Young, 15 hours ago
1 30 15 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 57 5 days ago