{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}

Backend

Pages

{%- for page in pages recursive -%} {{ loop(page.children) }} {%- endfor -%}
Action Title
{{ '> ' * (loop.depth - 1) }} {{ page.title if page.title else 'page %s' % page.id }}