summaryrefslogtreecommitdiff
path: root/zola/templates/page.html
blob: 231be36755305f57e2460d8a8586e78aa6140191 (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 }}">
        <em>Created:</em> {{ page.date }}<br/>
        {% if page.updated %}<em>Updated:</em> {{ page.updated }}<br/> {% endif %}
        <br/><em>Description:</em> {{ page.description }}<br/>
        {{ page.content | safe }}
</article>
{% endblock %}