{% recursive_template for roots %}
{% if subnode != composer %}
{{subnode}}
{% endif %}
{% if subnode.content.sidebar|length or subnode.children.count%}
{% if subnode.content.sidebar|length%}{% subnode for subnode.content.sidebar %}{% endif %}
{% if subnode.children.count %}{% subnode for subnode.children.all %}{% endif %}