aboutsummaryrefslogtreecommitdiff
path: root/source/blog/archives
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/blog/archives/index.html18
1 files changed, 18 insertions, 0 deletions
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>