diff --git a/_layouts/post-index.html b/_layouts/post-index.html
index 66bdc7b265e6..3d29f29a31cf 100644
--- a/_layouts/post-index.html
+++ b/_layouts/post-index.html
@@ -34,16 +34,13 @@
{{ 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 %}
+ {% capture written_year %}'None'{% endcapture %}
+ {% for post in site.posts %}
+ {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
+ {% if year != written_year %}
+
{{ year }}
+ {% capture written_year %}{{ year }}{% endcapture %}
+ {% endif %}
{% if post.link %}