From ef3ff431e5c3028b764d1938bb552a76c340799c Mon Sep 17 00:00:00 2001 From: Brandon Mathis <brandon@imathis.com> Date: Fri, 24 Jun 2011 17:17:35 -0400 Subject: 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 --- themes/classic/source/index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'themes/classic/source/index.html') 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}}/">← Older</a> + {% endif %} + <a href="/archive.html">Blog Archive</a> + {% if paginator.previous_page %} + <a href="/page{{paginator.previous_page}}/">Newer →</a> + {% endif %} +</nav> {% if site.disqus_short_name %} <script type="text/javascript"> var disqus_shortname = '{{ site.disqus_short_name }}'; -- cgit v1.2.1