summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2024-10-18 15:40:31 +0200
committerWolfgang Müller2024-10-18 15:40:31 +0200
commit42d06d219e31b90423dc15ad539608ec5538bf33 (patch)
tree674e6696e978337a68288abf65d5727760b94b25
parent851d825fba5bbbc91306c062fcb2c5bf73c013f5 (diff)
downloadzunzuncito-42d06d219e31b90423dc15ad539608ec5538bf33.tar.gz
templates: Sort tags in render_tags macro
-rw-r--r--templates/macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros.html b/templates/macros.html
index 4c44ea3..ccce644 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -34,7 +34,7 @@
{%- endmacro render_pagination -%}
{%- macro render_tags(tags) %}
-{%- for tag in tags %}
+{%- for tag in tags | sort %}
<li><a class="tag" href="{{ get_taxonomy_url(kind="tags", name=tag) }}">{{ tag }}</a></li>
{%- endfor %}
{%- endmacro render_tags %}