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

{% block title %}{{ page.title }}{% endblock %}
{% block header %}{{ page.title }}{% endblock %}
{% block navigation %}
        {% for a in page.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="{{ page.path | safe }}">{{ page.title }}</a>
{% endblock %}
{% block content %}
<article title="{{ page.title }}">
        {{ page.description }}<br/>
        Created: <em>{{ page.date }}</em>
        {% if page.updated %} <br/>Updated: <em>{{ page.updated }}</em> {% endif %}
        {{ page.content | safe }}
</article>
{% endblock %}