From d139da3a3277f73d7f01e4283d8dc01630a5317c Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Mon, 20 Oct 2014 16:38:24 -0700 Subject: initial setup --- 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 00000000..f1d9cee3 --- /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.1