diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2018-09-24 16:27:10 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2018-09-24 16:27:10 +0200 |
commit | 22bb2cfe6986c79449e64b32821e9c3e036200dc (patch) | |
tree | 19215f96482cc6c8862445f67b45ad34bda1d43d /zurb-F5-basic/templates | |
parent | 5d3f1eed080e97d395fdba90b5850fbfaef057a6 (diff) | |
download | pelican-themes-22bb2cfe6986c79449e64b32821e9c3e036200dc.tar.gz |
Remove two more articles|sort constructs.
This is the issue getpelican/pelican-themes#483 which was
supposed to be fixed by #506 (and commit
f1a4bba40281fa21816d6619d32136fc6a8f086d), but two occurences of
the problem were missed.
Basically, as
https://github.com/getpelican/pelican/issues/1591#issuecomment-70272693
says:
> For future reference: Don't use sort in templates on articles.
Diffstat (limited to 'zurb-F5-basic/templates')
-rw-r--r-- | zurb-F5-basic/templates/tags.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zurb-F5-basic/templates/tags.html b/zurb-F5-basic/templates/tags.html index cfd9480..7aec93a 100644 --- a/zurb-F5-basic/templates/tags.html +++ b/zurb-F5-basic/templates/tags.html @@ -2,7 +2,7 @@ {% block content %}
<ul class="circle">
- {% for tag, articles in tags|sort %}
+ {% for tag, articles in tags %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
<ul class="square">
{% for article in articles %}
@@ -12,4 +12,4 @@ {% endfor %}
</ul>
-{% endblock %}
\ No newline at end of file +{% endblock %}
|