diff options
author | joshmorel <morel.josh@hotmail.com> | 2017-04-16 17:33:28 -0400 |
---|---|---|
committer | joshmorel <morel.josh@hotmail.com> | 2017-04-16 17:44:46 -0400 |
commit | f1a4bba40281fa21816d6619d32136fc6a8f086d (patch) | |
tree | df6810eb32779eb051dd7e06e6655649952b4926 /tuxlite_zf | |
parent | 0ebdfd9c8851ba500f7f98664cad56cf44fdcd7e (diff) | |
download | pelican-themes-f1a4bba40281fa21816d6619d32136fc6a8f086d.tar.gz |
Fix Python 3 unorderable types issue
{% for article in articles | sort %} resulted in:
"CRITICAL: unorderable types: Article() < Article()"
Diffstat (limited to 'tuxlite_zf')
-rw-r--r-- | tuxlite_zf/templates/tags.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tuxlite_zf/templates/tags.html b/tuxlite_zf/templates/tags.html index 9cba867..cfd9480 100644 --- a/tuxlite_zf/templates/tags.html +++ b/tuxlite_zf/templates/tags.html @@ -5,7 +5,7 @@ {% for tag, articles in tags|sort %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
<ul class="square">
- {% for article in articles|sort %}
+ {% for article in articles %}
<li><a href="{{ SITEURL }}/{{ article.url }}"><small>{{ article.title }}</small></li>
{% endfor %}
</ul>
|