diff --git a/SoMA/templates/index.html b/SoMA/templates/index.html
index 76579b5..4f35eee 100644
--- a/SoMA/templates/index.html
+++ b/SoMA/templates/index.html
@@ -12,7 +12,7 @@
{% include 'article_infos.html' %}{{ article.content }}
- {% 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 %}