diff options
Diffstat (limited to 'zola/templates/section.html')
-rw-r--r-- | zola/templates/section.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/zola/templates/section.html b/zola/templates/section.html index 11e7e6a..71d3e06 100644 --- a/zola/templates/section.html +++ b/zola/templates/section.html @@ -4,7 +4,7 @@ {% block header %}{{ section.title }}{% endblock %} {% block navigation %} {% for a in section.ancestors %} - {% set s = get_section(path=a) %} + {% set s = get_section(path=a) -%} {% if loop.index != 1 %} > {% endif %}<a href="{{ s.path | safe }}">{{ s.title }}</a> {% endfor %} > <a href="{{ section.path | safe }}">{{ section.title }}</a> @@ -16,7 +16,17 @@ <p><a href="{{ page.path | safe}}">{{ page.title }}</a></p> </dt> <dd> - <p>{{ page.description }} <em><date datetime="{{ page.updated }}">{{ page.updated }}</date></em></p> + <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> |