diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:19:10 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:19:10 +0100 |
commit | caeed23e766705eecae7ef17a534213c0f87fdd6 (patch) | |
tree | e002f70de3b4a3c31d798f36af0b8e0598b185f1 /source/_layouts | |
parent | 0a7ff46da7d7352373dc74c2839233e34e232aec (diff) | |
download | octopress-theme-jeyzu-caeed23e766705eecae7ef17a534213c0f87fdd6.zip octopress-theme-jeyzu-caeed23e766705eecae7ef17a534213c0f87fdd6.tar.gz |
archive, category
Diffstat (limited to 'source/_layouts')
-rw-r--r-- | source/_layouts/category_index.html | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/source/_layouts/category_index.html b/source/_layouts/category_index.html index 85a6307..7e64ebe 100644 --- a/source/_layouts/category_index.html +++ b/source/_layouts/category_index.html @@ -1,17 +1,16 @@ --- -layout: page -footer: false +layout: default --- -<div id="blog-archives" class="category"> {% for post in site.categories[page.category] %} -{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} -{% unless year == this_year %} - {% assign year = this_year %} - <h2>{{ year }}</h2> -{% endunless %} -<article> - {% include archive_post.html %} -</article> +<section class="archive"> + {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} + {% unless year == this_year %} + {% assign year = this_year %} + <h1 class="archive-title">{{ year }}</h1> + {% endunless %} + <article class="archive"> + {% include archive_post.html %} + </article> +</section> {% endfor %} -</div> |