From 1c574d24b7fdd482499fa9553c19342b6a4d391e Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Tue, 24 Jan 2012 21:53:22 +0800 Subject: created --- source/blog/archives/index.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 source/blog/archives/index.html (limited to 'source/blog/archives/index.html') diff --git a/source/blog/archives/index.html b/source/blog/archives/index.html new file mode 100644 index 0000000..f1d9cee --- /dev/null +++ b/source/blog/archives/index.html @@ -0,0 +1,18 @@ +--- +layout: page +title: Blog Archive +footer: false +--- + +
+{% 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 %} +
-- cgit v1.2.3