summaryrefslogtreecommitdiff
path: root/zola/templates/section.html
blob: 11e7e6ae29ba2424dfa1cbccc9a2b2a8c83a141c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "base.html" %}

{% block title %}{{ section.title }}{% endblock %}
{% block header %}{{ section.title }}{% endblock %}
{% block navigation %}
        {% for a in section.ancestors %}
                {% set s = get_section(path=a) %}
                {% if loop.index != 1 %} &gt; {% endif %}<a href="{{ s.path | safe }}">{{ s.title }}</a>
        {% endfor %}
        &gt; <a href="{{ section.path | safe }}">{{ section.title }}</a>
{% endblock %}
{% block content %}
<dl title="List of {{ section.title }} entries">
{% for page in section.pages %}
<dt>
        <p><a href="{{ page.path | safe}}">{{ page.title }}</a></p>
</dt>
<dd>
        <p>{{ page.description }} <em><date datetime="{{ page.updated }}">{{ page.updated }}</date></em></p>
</dd>
{% endfor %}
</dl>
{% endblock %}