diff --git a/index.html b/index.html
index 76412defbd318c6388e07023cc8873adc9f4ca24..95e9ba769246af97525fc1cec1b86618483ce396 100644
--- a/index.html
+++ b/index.html
@@ -6,7 +6,7 @@ layout: default
     <h1>Stack Problems</h1>
     <hr />
     <ol class="posts">
-    {% for post in site.posts %}
+    {% for post in paginator.posts %}
       <li><a href="{{ post.url }}">{{ post.title }}</a> &raquo; <i><span>{{ post.date | date_to_string }}</span></i></li>
     {% endfor %}
     </ol>