From 1769e1cdcfe58339eb6ff7f13925090edaa8a4a8 Mon Sep 17 00:00:00 2001 From: davidtsadler Date: Fri, 30 Dec 2011 00:55:09 +0000 Subject: Add archives page and ordinalize plugin. --- _site_build/archives.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 _site_build/archives.html (limited to '_site_build/archives.html') diff --git a/_site_build/archives.html b/_site_build/archives.html new file mode 100644 index 0000000..38efebf --- /dev/null +++ b/_site_build/archives.html @@ -0,0 +1,26 @@ +--- +layout: default +title: Archives +--- +
+

Archives

+ {% for post in site.posts %} + {% unless post.next %} +

{{ post.date | date: '%Y' }}

+
    + {% else %} + {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} + {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} + {% if year != nyear %} +
+

{{ post.date | date: '%Y' }}

+
    + {% endif %} + {% endunless %} +
  1. + {{ post.title }} +
  2. + {% endfor %} +
+
+ -- cgit v1.2.3-13-gbd6f