diff --git a/pelican/themes/notmyidea/templates/index.html b/pelican/themes/notmyidea/templates/index.html
index ded814ff..217bacf2 100644
--- a/pelican/themes/notmyidea/templates/index.html
+++ b/pelican/themes/notmyidea/templates/index.html
@@ -2,31 +2,32 @@
{% block content_title %}{% endblock %}
{% block content %}
{% if articles %}
-{% for article in articles_page.object_list %}
- {% if loop.first and not articles_page.has_previous() %}
-
+ {% if loop.length > 1 %}
+
+ Other articles
+
+
+ {% endif %}
+ {# other items #}
+ {% else %}
+ {% if loop.first and articles_page.has_previous %}
+
+
+ {% endif %}
+ -
@@ -37,15 +38,16 @@
read more
{% include 'comments.html' %}
-
- {% endif %}
- {% if loop.last and (articles_page.has_previous() or not articles_page.has_previous() and loop.length > 1) %}
- {% include 'pagination.html' %}
- {% endif %}
+
+ {% endif %}
+ {% if loop.last and (articles_page.has_previous()
+ or not articles_page.has_previous() and loop.length > 1) %}
+ {% include 'pagination.html' %}
+ {% endif %}
{% endfor %}
-
-{% if loop.length > 1 %}
-
+ {% if loop.length > 1 or articles_page.has_previous() %}
+
+
{% endif %}
{% else %}