summaryrefslogtreecommitdiffstats
path: root/source/blog
diff options
context:
space:
mode:
authorTommy Chen <tommy351@gmail.com>2012-06-03 05:50:08 +0200
committerTommy Chen <tommy351@gmail.com>2012-06-03 05:50:08 +0200
commit8f6ae6b36604c6dcfc105d7bbfd21716373b9739 (patch)
treecddc7dabd852e2c8b550e44b5b769fed9b7d7044 /source/blog
parent5bae43b46cd5dd399836f8e326ee128373c1a855 (diff)
downloadoctopress-theme-jeyzu-8f6ae6b36604c6dcfc105d7bbfd21716373b9739.zip
octopress-theme-jeyzu-8f6ae6b36604c6dcfc105d7bbfd21716373b9739.tar.gz
simplify archive
Diffstat (limited to 'source/blog')
-rw-r--r--source/blog/archives/index.html11
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