{% if paginator.page != 1 %} Archive {% else %} Archive {% endif%}

{% for post in paginator.posts %} {% capture current_year %}{{ post.date | date: "%B %Y" }}{% endcapture %} {% if current_year != year %} {% unless forloop.first %} {% endunless %}

{{ current_year }}

{% endif %} {% endfor %}