aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/source/index.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-24 17:17:35 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-24 17:17:35 -0400
commitef3ff431e5c3028b764d1938bb552a76c340799c (patch)
treeb6d606ab522422238063f41e3334b3d7492fe69d /themes/classic/source/index.html
parenta128d4990b6a346076bb07892ecdab868fdce467 (diff)
downloadmy_new_personal_website-ef3ff431e5c3028b764d1938bb552a76c340799c.tar.xz
my_new_personal_website-ef3ff431e5c3028b764d1938bb552a76c340799c.zip
1. Added html5 video with flash fallback.
2. Added Rack support 3. Disqus support 4. Improved Readme 5. Improved Syntax flexibility and styling 6. Improved blockquote styling
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 }}';