When children of a page are all invisible, the tag still returns the UL tag.
solution: run the foreach loop first, and if not empty() wrap the thing in the UL tag.
Create the tag if it is necessary, not because we "expect" content.
Contrary to public transport, we don't have to drive empty busses around,
why send a bus out in the first place if no-one is waiting at the busstops.
When children of a page are all invisible, the tag still returns the UL tag.
solution: run the foreach loop first, and if not empty() wrap the thing in the UL tag.
Create the tag if it is necessary, not because we "expect" content.
Contrary to public transport, we don't have to drive empty busses around,
why send a bus out in the first place if no-one is waiting at the busstops.