From d139da3a3277f73d7f01e4283d8dc01630a5317c Mon Sep 17 00:00:00 2001
From: Zhiming Wang <zmwangx@gmail.com>
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')

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
+---
+
+<div id="blog-archives">
+{% for post in site.posts reverse %}
+{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
+{% unless year == this_year %}
+  {% assign year = this_year %}
+  <h2>{{ year }}</h2>
+{% endunless %}
+<article>
+  {% include archive_post.html %}
+</article>
+{% endfor %}
+</div>
-- 
cgit v1.2.1