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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • GRAV One-Page Antimatter Theme · 11 years ago

    Yah that logic was never in the 'onpage menu', but probably should be.

  • GRAV One-Page Antimatter Theme · 11 years ago

    Antimatter's modular.html.twig does not include the site.menu. Add this snippet {% for mitem in site.menu %} <li> <a href="{{ mitem.url }}">

  • GRAV One-Page Antimatter Theme · 11 years ago

    Has this changed since April, because menu items added in site.yaml won't show when onpage_menu: true?

  • GRAV One-Page Antimatter Theme · 11 years ago

    Ran the update command and there they were! Thanks, Brad

  • GRAV One-Page Antimatter Theme · 11 years ago

    Also check to make sure antimatter theme is up to date. bin/gpm update

  • GRAV One-Page Antimatter Theme · 11 years ago

    Please use a code block for your site.yaml paste ( see help icon in top right of forum post box) Spacing is critical for yaml.

  • GRAV One-Page Antimatter Theme · 11 years ago

    Thanks for the help. I went with the onpage_menu: false solution which got the navigation the same on all pages. I tried adding the menu items from your post to my site.yaml but they do show up on a

  • GRAV One-Page Antimatter Theme · 11 years ago

    I just realized this menu stuff is not documented. I have made a note to add this to the documentation.

  • GRAV One-Page Antimatter Theme · 11 years ago

    In the modular.md file that is the parent of the modular pages (probably user/pages/01.home/modular.md you can add/edit the header variable: onpage_menu: false This will turn off the onpage 'modular'

  • GRAV One-Page Antimatter Theme · 11 years ago

    I like the modular layout for the home page of the Antimatter One-Page theme but I would like to add menu links to other pages...do I edit modular.html.twig to accomplish this?