paginate main site
[Ultimately_Untrue_Thought.git] / theme / templates / index.html
index 233c8a8..4095ae9 100644 (file)
@@ -3,7 +3,7 @@
 
 {% block content %}
 
-{% for article in articles %}
+{% for article in articles_page.object_list %}
   <article>
     <h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
     {% include 'metadata.inc.html' %}
@@ -12,4 +12,6 @@
   <hr />
 {% endfor %}
 
+{% include 'pagination.inc.html' %}
+
 {% endblock content %}