diff options
author | Justin Mayer <entroP@gmail.com> | 2017-09-04 11:34:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 11:34:47 -0700 |
commit | efb323d63db6facd23c544bed7daff2732c67350 (patch) | |
tree | ea569b31f14736e8929dc58646ce10c949a2b140 | |
parent | fdf6b184aba62a57a9afb9f2819fa8fa5d89684a (diff) | |
parent | f1a4bba40281fa21816d6619d32136fc6a8f086d (diff) | |
download | pelican-themes-efb323d63db6facd23c544bed7daff2732c67350.tar.gz |
Merge pull request #506 from joshmorel/master
Fix Python 3 unorderable types issue with multiple themes
-rw-r--r-- | SOB/templates/tags.html | 2 | ||||
-rw-r--r-- | ops/templates/category.html | 2 | ||||
-rw-r--r-- | ops/templates/tag.html | 2 | ||||
-rw-r--r-- | ops/templates/tags.html | 2 | ||||
-rw-r--r-- | tuxlite_zf/templates/tags.html | 2 | ||||
-rw-r--r-- | zurb-F5-basic/templates/tags.html | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/SOB/templates/tags.html b/SOB/templates/tags.html index 769363d..07a187a 100644 --- a/SOB/templates/tags.html +++ b/SOB/templates/tags.html @@ -6,7 +6,7 @@ <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>
diff --git a/ops/templates/category.html b/ops/templates/category.html index e5e601a..fb71e3b 100644 --- a/ops/templates/category.html +++ b/ops/templates/category.html @@ -9,7 +9,7 @@ </header> <dl> <h3>{{ category }}</h3> - {% for article in articles|sort %} + {% for article in articles %} <dd> <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a> </dd> diff --git a/ops/templates/tag.html b/ops/templates/tag.html index 0131849..b0f09fb 100644 --- a/ops/templates/tag.html +++ b/ops/templates/tag.html @@ -9,7 +9,7 @@ </header> <dl> <h3>{{ tag }}</h3> - {% for article in articles|sort %} + {% for article in articles %} <dd> <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a> diff --git a/ops/templates/tags.html b/ops/templates/tags.html index cbfd61f..b1853ef 100644 --- a/ops/templates/tags.html +++ b/ops/templates/tags.html @@ -5,7 +5,7 @@ <section id="tags"> <header class="header"> - {% for tag,articles in tags|sort %} + {% for tag,articles in tags %} <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>({{ articles|count }}) {% endfor %} </header> 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>
diff --git a/zurb-F5-basic/templates/tags.html b/zurb-F5-basic/templates/tags.html index 9cba867..cfd9480 100644 --- a/zurb-F5-basic/templates/tags.html +++ b/zurb-F5-basic/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>
|