--- title: "Blog index" layout: page ---
{% for post in site.categories[page.category] %} {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} {% unless year == this_year %} {% assign year = this_year %}

{{ year }}

{% endunless %}
{% include blog/archive_post.html %}
{% endfor %}