{% for page in pages if page.title and page.meta.Section and not page.hidden %}
{% set pageDepth = page.id|split('/')|length %}
{% if pageDepth == 1 %}
{% if page.meta.Main %}
{% endif %}
{{page.title}}
{% if page.description %}
{{page.description}}
{% endif %}
{{page.id|content}}
{% if page.meta.ActionTarget and page.meta.ActionName %}