diff options
author | Wolfgang Müller | 2024-10-18 15:40:31 +0200 |
---|---|---|
committer | Wolfgang Müller | 2024-10-18 15:40:31 +0200 |
commit | 42d06d219e31b90423dc15ad539608ec5538bf33 (patch) | |
tree | 674e6696e978337a68288abf65d5727760b94b25 | |
parent | 851d825fba5bbbc91306c062fcb2c5bf73c013f5 (diff) | |
download | zunzuncito-42d06d219e31b90423dc15ad539608ec5538bf33.tar.gz |
templates: Sort tags in render_tags macro
-rw-r--r-- | templates/macros.html | 2 |
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 %} |