Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion theme/templates/_sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1>Categories</h1>
<h1>Tags</h1>
</header>
<div class="sidebar-tags">
{% for tag, article in tags %}
{% for tag, article in tags|sort %}
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
{% endfor %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion theme/templates/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h1>Blog tags</h1>

<ul>
{% for tag, articles in tags %}
{% for tag, articles in tags|sort %}
<li>
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag.name }}</a>
— {{ articles | length }}
Expand Down