How to create two menus

Hi,

I want to migrate a older project to Grav. The site has two menus: a horizontal one at the top and a vertical one on the right side. Can this easily be realized with Grav?

Best regards
Michael

@myscha, Each menu is nothing but a listing of a page collection. In Twig the variable pages is a collection of descendants of folder ‘user/pages’ and is usually used in the horizontal top menu.

In Twig you can create a collection dynamically or use the existing collection of the current page (e.g. page.children). This collection could then be rendered vertically in the sidebar.

Using the above, you could for example create a horizontal menu of only the children of folder ‘user/pages’ (no dropdowns in menu) and a vertical menu of the list of children of the current page (instead of the dropdown).