aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/source/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/classic/source/index.html')
-rw-r--r--themes/classic/source/index.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/themes/classic/source/index.html b/themes/classic/source/index.html
index 2ef9f8cf..d6ff868e 100644
--- a/themes/classic/source/index.html
+++ b/themes/classic/source/index.html
@@ -3,12 +3,21 @@ layout: default
blog_index: true
---
{% assign index = true %}
-{% for page in site.posts limit:site.posts_per_page %}
+{% for page in paginator.posts %}
{% assign content = page.content %}
<article>
{% include article.html %}
</article>
{% endfor %}
+<nav role="pagination">
+ {% if paginator.next_page %}
+ <a href="/page{{paginator.next_page}}/">&larr; Older</a>
+ {% endif %}
+ <a href="/archive.html">Blog Archive</a>
+ {% if paginator.previous_page %}
+ <a href="/page{{paginator.previous_page}}/">Newer &rarr;</a>
+ {% endif %}
+</nav>
{% if site.disqus_short_name %}
<script type="text/javascript">
var disqus_shortname = '{{ site.disqus_short_name }}';