aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2018-10-18 12:36:13 +0200
committerGitHub <noreply@github.com>2018-10-18 12:36:13 +0200
commitd8ee93d498c591815b411ffec65de21a9aa0a936 (patch)
tree0b3429fd28083041ffd31605d0e0f44d4da38042
parent44d51834110c517aa484a32f271c9801985b3d5e (diff)
parent22bb2cfe6986c79449e64b32821e9c3e036200dc (diff)
downloadpelican-themes-d8ee93d498c591815b411ffec65de21a9aa0a936.tar.gz
Merge pull request #612 from mcepl/no_sort_on_articles
Remove two more articles|sort constructs
-rw-r--r--uikit/templates/articles.html2
-rw-r--r--zurb-F5-basic/templates/tags.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/uikit/templates/articles.html b/uikit/templates/articles.html
index 8454395..17f9e3c 100644
--- a/uikit/templates/articles.html
+++ b/uikit/templates/articles.html
@@ -12,7 +12,7 @@
<h1>{{'all the articles'|capitalize}}</h1>
<ul>
-{% for article in articles|sort %}
+{% for article in articles %}
<li><a class="{% if CAPITALIZE_HEADINGS %}capitalize{% endif %}" href="/{{ article.url }}">{{ article.title }}</a></li>
{% endfor %}
</ul>
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 %}