Ensure tags are sorted

This commit is contained in:
Jake Howard 2022-10-21 17:11:15 +01:00
parent db6dd80385
commit 26fabf3a43
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -27,7 +27,7 @@
<i class="fas fa-lg fa-tags"></i>
</a>
</span>
{% for tag in page.tags.all %}
{% for tag in page.tags.all|dictsort:"slug" %}
<span><a title="{{ tag.name }}" href="{% pageurl tag %}">#{{ tag.slug }}</a></span>
{% endfor %}
</div>