summaryrefslogtreecommitdiff
path: root/_site_build/archives/index.html
diff options
context:
space:
mode:
Diffstat (limited to '_site_build/archives/index.html')
-rw-r--r--_site_build/archives/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/_site_build/archives/index.html b/_site_build/archives/index.html
new file mode 100644
index 0000000..38efebf
--- /dev/null
+++ b/_site_build/archives/index.html
@@ -0,0 +1,26 @@
+---
+layout: default
+title: Archives
+---
+<section id="archives">
+ <h1>Archives</h1>
+ {% for post in site.posts %}
+ {% unless post.next %}
+ <h2>{{ post.date | date: '%Y' }}</h2>
+ <ol>
+ {% else %}
+ {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
+ {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
+ {% if year != nyear %}
+ </ol>
+ <h2>{{ post.date | date: '%Y' }}</h2>
+ <ol>
+ {% endif %}
+ {% endunless %}
+ <li>
+ <time datetime="{{ post.date | date: '%Y-%m-%d' }}" pubdate>{{ post.date | date: '%b' }} {{ post.date | ordinalize }}</time> <a href="{{ post.url }}" target="_self" title="{{ post.title }}">{{ post.title }}</a>
+ </li>
+ {% endfor %}
+ </ol>
+</section>
+