title: Archives
---
-<div id="blog-archives">
-
- {% for post in site.posts %}
- <article class="post">
- {% if post.external-url %}
- <h1>
- <a href="{{ post.external-url }}">{{ post.title | markdownify }}</a>
- <a class="anchor" href="{{ post.url }}"><i class="icon-anchor"></i></a>
- </h1>
- {% else %}
- <h1><a href="{{ post.url }}">{{ post.title | markdownify }}</a></h1>
- {% endif %}
- </article>
- {% endfor %}
-
-</div>
+<h1>Blog archive</h1>
+<table>
+ <tbody>
+{% for post in site.posts %}
+{% assign loopindex = forloop.index | modulo: 2 %}
+{% assign currentdate = post.date | date: "%Y" %}
+{% if currentdate != date %}
+ <tr class="yearline">
+ <td class="yearcell" colspan="2">
+ <a href="/{{currentdate}}" class="year-link" title="Link to Year {{currentdate}}">{{ currentdate }}</a>
+ </td>
+ </tr>
+ {% assign date = currentdate %}
+{% endif %}
+ {% if loopindex == 1 %}
+ <tr class="odd">
+ {% else %}
+ <tr class="even">
+ {% endif %}
+ <td class="postdate"><time datetime="{{post.date | date_to_xmlschema}}">{{ post.date | date: "%d. %B" }}</time>
+ </td>
+ <td class="postlink"><a href="{{ post.url }}">{{ post.title | markdownify }}</a></td>
+ </tr>
+{% endfor %}
+</tbody>
+</table>