I have a custom theme based on the RTFM skeleton in the works. Now I’m trying to hide a sub-sub-item in the navigation before it’s parent is active. A live example is in the RTFM skeleton demo: http://demo.getgrav.org/rtfm-skeleton/
Now as you can see the Sub-Sub-Topic is visible in the menu always. What I want is to only show Sub-Topic when Requirements is active page and then when Sub-Topic is active page, show also Sub-Sub-Topic.
I have a lot of Sub-Sub-pages coming to the website (a total of +40) so it’s not an option to just list them as Sub-pages.
This is my first web page with GRAV so I’m still somewhat a noob here.