diff options
author | Tommy Chen <tommy351@gmail.com> | 2012-06-03 05:50:08 +0200 |
---|---|---|
committer | Tommy Chen <tommy351@gmail.com> | 2012-06-03 05:50:08 +0200 |
commit | 8f6ae6b36604c6dcfc105d7bbfd21716373b9739 (patch) | |
tree | cddc7dabd852e2c8b550e44b5b769fed9b7d7044 /source/blog/archives/index.html | |
parent | 5bae43b46cd5dd399836f8e326ee128373c1a855 (diff) | |
download | octopress-theme-jeyzu-8f6ae6b36604c6dcfc105d7bbfd21716373b9739.zip octopress-theme-jeyzu-8f6ae6b36604c6dcfc105d7bbfd21716373b9739.tar.gz |
simplify archive
Diffstat (limited to 'source/blog/archives/index.html')
-rw-r--r-- | source/blog/archives/index.html | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/source/blog/archives/index.html b/source/blog/archives/index.html index 8c58fea..e4bc23c 100644 --- a/source/blog/archives/index.html +++ b/source/blog/archives/index.html @@ -4,14 +4,5 @@ title: Blog Archives --- {% for post in site.posts reverse %} -<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> + {% include archive_post.html %} {% endfor %}
\ No newline at end of file |