summaryrefslogtreecommitdiff
path: root/zola/templates/taxonomy_single.html
diff options
context:
space:
mode:
Diffstat (limited to 'zola/templates/taxonomy_single.html')
-rw-r--r--zola/templates/taxonomy_single.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/zola/templates/taxonomy_single.html b/zola/templates/taxonomy_single.html
new file mode 100644
index 0000000..d5641e5
--- /dev/null
+++ b/zola/templates/taxonomy_single.html
@@ -0,0 +1,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 %}
+