---
layout: default
title: Archives
permalink: /archive/
icon: archive
---
{{page.title}}
{% 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 %}
-
{{ post.title }}
{% include category.html %}
{% include tag.html %}
{% endfor %}
Content
{% assign counter = 0 %}
{% for post in site.posts %}
{% assign thisyear = post.date | date: "%Y" %}
{% assign prevyear = post.previous.date | date: "%Y" %}
{% assign counter = counter | plus: 1 %}
{% if thisyear != prevyear %}
- {{ thisyear }} ({{ counter }})
{% assign counter = 0 %}
{% endif %}
{% endfor %}