From 8b6d83ae6052ee09879d30f2849716fa8e692bfe Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Fri, 15 Jul 2011 15:50:48 -0400 Subject: 1. Udated category layout 2. Improved scoping and styling for links 3. Sidebar collapse improvements --- .themes/classic/source/_layouts/category_index.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to '.themes/classic/source/_layouts') diff --git a/.themes/classic/source/_layouts/category_index.html b/.themes/classic/source/_layouts/category_index.html index 699f3dec..cce9777c 100644 --- a/.themes/classic/source/_layouts/category_index.html +++ b/.themes/classic/source/_layouts/category_index.html @@ -1,10 +1,15 @@ --- -layout: post -no_meta: true +layout: page +no_footer: true --- -
+
{% for post in site.categories[page.category] %} +{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} +{% unless year == this_year %} + {% assign year = this_year %} +

{{ year }}

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