Skip to content

Commit

Permalink
fixed pagination in SoMA
Browse files Browse the repository at this point in the history
  • Loading branch information
xsteadfastx committed Feb 3, 2014
1 parent 6036c18 commit 072a372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoMA/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<h1 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
{% include 'article_infos.html' %}{{ article.content }}
</article>
{% if loop.length == 1 %}
{% if loop.last and (articles_page.has_previous() or not articles_page.has_previous() and loop.length > 1) %}
{% include 'pagination.html' %}
{% endif %}
</div>
Expand Down

0 comments on commit 072a372

Please sign in to comment.