From 8354b8f77fdfd907f07574b63e910aba09232ade Mon Sep 17 00:00:00 2001 From: Nicolas Dato Date: Tue, 26 Nov 2024 11:50:27 -0300 Subject: first article, safer pointers --- zola/templates/section.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'zola/templates/section.html') 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 %}{{ s.title }} {% endfor %} > {{ section.title }} @@ -16,7 +16,17 @@

{{ page.title }}

-

{{ page.description }} {{ page.updated }}

+

{{ page.date }}: {{ page.description }}

+

+ {% for kind, values in page.taxonomies %} + {% set cat = get_taxonomy(kind=kind) -%} + {{ kind }}: + {% for v in values %} + {% if loop.index != 1%}, {% endif %}{{ v }} + {% endfor %} +
+ {% endfor %} +

{% endfor %} -- cgit v1.2.3