Hi,
I’m fairly new to Grav and I need some help.
For a sidemenu I wanted to list all titles from the childpages of a certain parent with a collapsible menu.
In the cookbook I found exactly what I need.
I also changed this line:
{% for page in pages.children.visible %}
with {% for page in page.find('/path/page').children %}
to only show me the children from the current parent. (Tell me, if there is a better way.)
Now my problem is:
How i get it to work that the menu stays open?
Thanks in advance
Jboss