{% extends "index.html" %}
{% block content %}
{% for page in section.pages %}
{{page.title}}
{% endfor %}
{% for sub in section.subsections %}
{% set subsection = get_section(path=sub) %}
{{subsection.title}}
Sub-pages: {{subsection.pages | length}}
{% endfor %}
{% endblock content %}