From caeed23e766705eecae7ef17a534213c0f87fdd6 Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:19:10 +0800 Subject: archive, category --- source/blog/archives/index.html | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'source/blog/archives') diff --git a/source/blog/archives/index.html b/source/blog/archives/index.html index f1d9cee..043e163 100644 --- a/source/blog/archives/index.html +++ b/source/blog/archives/index.html @@ -1,18 +1,17 @@ --- -layout: page -title: Blog Archive -footer: false +layout: default +title: 文章彙整 --- -
{% 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 %} -
+
+ {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} + {% unless year == this_year %} + {% assign year = this_year %} +

{{ year }}

+ {% endunless %} +
+ {% include archive_post.html %} +
+
+{% endfor %} \ No newline at end of file -- cgit v1.2.3