{% extends "index.html" %}

{% block content %}
    {% for page in section.pages %}
        {{page.title}}
    {% endfor %}
    {% for subsection in section.subsections %}
        {{subsection.title}}
        Sub-pages: {{subsection.pages | length}}
    {% endfor %}
{% endblock content %}
