{% extends "base.html" %} {% macro list_page(pages, parent_url, parent_id) -%} {%- endmacro %} {% block title %}{{ site.title }}{% endblock %} {% block container %}
{{ site.title }}
{% if site.index %} {{ page.content }} {% else %} {% for category_name, pages in site.structure.iteritems() %} {# Top-level wiki pages not display in index #} {% if site.default_ext not in category_name %}

{{ category_name }}

{% set url = "./" ~ category_name %} {{ list_page(pages, url, category_name) }}
{% endif %} {% endfor %} {% endif %}
{% endblock %}