From b9ad060b5d5d2df594a497633b4c3bf8fa9ebf66 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Fri, 1 Jul 2011 17:13:21 -0400 Subject: 1. Updated config so blog categories get ouput to /blog/categories 2. Increased default pagination to 10 posts per page 3. Explained email address for RSS feed better --- .themes/classic/source/blog/archives.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .themes/classic/source/blog/archives.html (limited to '.themes/classic/source/blog') diff --git a/.themes/classic/source/blog/archives.html b/.themes/classic/source/blog/archives.html new file mode 100644 index 00000000..ebf447c9 --- /dev/null +++ b/.themes/classic/source/blog/archives.html @@ -0,0 +1,17 @@ +--- +layout: post +title: Blog Archive +no_meta: true +--- +
+{% for post in site.posts reverse %} +{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} +{% unless year == this_year %} + {% assign year = this_year %} +

{{ year }}

+{% endunless %} +
+ {% include archive_post.html %} +
+{% endfor %} +
-- cgit v1.2.1