Skip to content

Commit

Permalink
Merge pull request #637 from PJUllrich/master
Browse files Browse the repository at this point in the history
nmnlist: Fix "loop is undefined" issue
  • Loading branch information
justinmayer committed Apr 16, 2019
2 parents 67b1165 + 42e33bb commit ef0412c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nmnlist/templates/index.html
Expand Up @@ -24,11 +24,11 @@ <h2>Tous les articles</h2>
{% 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 %}
Expand Down

0 comments on commit ef0412c

Please sign in to comment.