From 42d06d219e31b90423dc15ad539608ec5538bf33 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 18 Oct 2024 15:40:31 +0200 Subject: templates: Sort tags in render_tags macro --- templates/macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}
  • {{ tag }}
  • {%- endfor %} {%- endmacro render_tags %} -- cgit v1.2.3-2-gb3c3