aboutsummaryrefslogtreecommitdiffstats
path: root/nmnlist
diff options
context:
space:
mode:
authorPeter Ullrich <PJUllrich@users.noreply.github.com>2019-02-04 16:16:39 +0100
committerGitHub <noreply@github.com>2019-02-04 16:16:39 +0100
commit42e33bb70188c1c28db2b21b6c4b83a2df94bd5e (patch)
treeb808de77614dc804ddf4866e8c3c490b609cda13 /nmnlist
parentdeccf69d77245ddfde3ffaf36a743bf00828b36f (diff)
downloadpelican-themes-42e33bb70188c1c28db2b21b6c4b83a2df94bd5e.tar.gz
Fix "loop is undefined" issue.
Diffstat (limited to 'nmnlist')
-rw-r--r--nmnlist/templates/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/nmnlist/templates/index.html b/nmnlist/templates/index.html
index 274eb5d..ab83db4 100644
--- a/nmnlist/templates/index.html
+++ b/nmnlist/templates/index.html
@@ -24,11 +24,11 @@
{% else %}
<li><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ 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 %}
Pas d'articles pour le moment.
{% endif %}