I'd like to test if a page has children and showing html content only if it has children.
TWIG
{% set sub_sub_sections = sub_section.children %}
this is the test, but it renders the html content anyway ... :(
TWIG
{% if sub_sub_sections %}
<div>html</div>
{% endif %}
---