summaryrefslogtreecommitdiff
path: root/zola/templates/taxonomy_single.html
blob: d5641e5052e1bd1982d6d21c4be05341f7ab78a5 (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
25
26
27
28
{% extends "base.html" %}

{% block title %}{{ term.name }}{% endblock %}
{% block header %}{{ term.name }}{% endblock %}
{% block navigation %}<a href="/">Home</a> &gt; {{ taxonomy.name }} &gt; <a href="{{ current_path | safe }}">{{ term.name }}</a>{% endblock %}
{% block content %}
<dl title="List of {{ term.name }} entries">
{% for page in term.pages %}
<dt>
        <p><a href="{{ page.path | safe}}">{{ page.title }}</a></p>
</dt>
<dd>
        <p><em><date datetime="{{ page.date }}">{{ page.date }}</date></em>: {{ page.description }}</p>
        <p>
        {% for kind, values in page.taxonomies %}
                {% set cat = get_taxonomy(kind=kind) -%}
                <a href="{{ cat.permalink | safe }}">{{ kind }}</a>:
                {% for v in values %}
                        {% if loop.index != 1%}, {% endif %}<a href="{{ get_taxonomy_url(kind=kind, name=v) | safe }}">{{ v }}</a>
                {% endfor %}
                <br/>
        {% endfor %}
        </p>
</dd>
{% endfor %}
</dl>
{% endblock %}