zola/test_site/templates/section.html
2018-10-18 18:00:40 +02:00

13 lines
375 B
HTML

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