aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhbiboluo <hbiboluo@gmail.com>2017-08-04 23:24:14 +0800
committerJustin Mayer <entroP@gmail.com>2017-08-04 08:24:14 -0700
commit3fb98d0d4321bada4edf0589caa4a07890f0f7a3 (patch)
tree904a5b628268e5015db8708864d46c4326ee299b
parent3f9ddddab6f49eb2d2df35d47de78c0dddea3088 (diff)
downloadpelican-themes-3fb98d0d4321bada4edf0589caa4a07890f0f7a3.tar.gz
Monospace: fix index page error (#536)
'loop' is undefined
-rw-r--r--monospace/templates/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/monospace/templates/index.html b/monospace/templates/index.html
index c2a1b60..5c9c15c 100644
--- a/monospace/templates/index.html
+++ b/monospace/templates/index.html
@@ -23,11 +23,11 @@
{% else %}
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title}}">{{ article.title }}</a></li>
{% endif %}
-{% endfor %}
- {% if loop.length > 1 %}
- </ol>
- </section><!-- #article-list -->
-{% endif %}
+ {% if loop.length > 1 %}
+ </ol>
+ </section><!-- #article-list -->
+ {% endif %}
+ {% endfor %}
{% else %}
No posts found.
{% endif %}