sorting the overview on the slug
This commit is contained in:
parent
df0aaa8f9c
commit
f429ede303
@ -7,7 +7,7 @@
|
|||||||
{% block content_title %}
|
{% block content_title %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% for category, articles in categories | sort %}
|
{% for category, articles in categories | sort(attribute="slug") %}
|
||||||
<a class="nounderline" href="{{ SITEURL }}/{{ category.url }}" title="Permalink to {{ category|striptags }}">
|
<a class="nounderline" href="{{ SITEURL }}/{{ category.url }}" title="Permalink to {{ category|striptags }}">
|
||||||
<h1 class="category">{{ category }}</h1>
|
<h1 class="category">{{ category }}</h1>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user