Permalink
Browse files

add archive page

  • Loading branch information...
glehmann committed Dec 22, 2014
1 parent 2a3e867 commit 0157663320380572812dc9e16933131a175f6d85
Showing with 13 additions and 0 deletions.
  1. +13 −0 archive.md
View
@@ -0,0 +1,13 @@
---
layout: page
title: Archive
---
{% for post in site.posts %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% if year != previousYear %}
## {{ year }}
{% endif %}
* {{ post.date | date_to_string }} » [ {{ post.title }} ]({{ post.url }})
{% capture previousYear %}{{year}}{% endcapture %}
{% endfor %}

0 comments on commit 0157663

Please sign in to comment.