summaryrefslogtreecommitdiff
path: root/zola/templates/page.html
blob: 180bd84eb64a2ce5eaa5087deceaa87258018dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% 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.content | safe }}
</article>
{% endblock %}