From 1c555116be19efe29d19d19286abbb21085a5756 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 15 Aug 2011 23:59:28 -0400 Subject: Added support for pagination with a blog index in any directory (helps with landing pages). Added configuration for pagination directory base --- .themes/classic/source/index.html | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to '.themes') diff --git a/.themes/classic/source/index.html b/.themes/classic/source/index.html index fa5310a9..e7e96956 100644 --- a/.themes/classic/source/index.html +++ b/.themes/classic/source/index.html @@ -2,4 +2,41 @@ layout: default --- -{% include blog_index.html %} +
+{% assign index = true %} +{% for post in paginator.posts %} +{% assign content = post.content %} +
+ {% include article.html %} +
+{% endfor %} + +{% if site.disqus_short_name %} + +{% endif %} +
+ -- cgit v1.2.1