Sort tags alphabetically

This commit is contained in:
N-Upchurch 2023-08-29 15:31:50 -05:00
parent be4cbac363
commit ffbe6918f8

View File

@ -9,7 +9,7 @@ Click on a tag to see all posts on the topic.
</p>
<ul class="taglist">
{% for tag in collections.all | getAllTags | filterTagList %}
{% for tag in collections.all | getAllTags | filterTagList | sort(false, false, tag) %}
{% set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
<li><a href="{{ tagUrl }}" class="post-tag">{{ tag }}</a></li>
{% endfor %}