---
- {{ year }} {% endunless %} {{ post.date | date:"%Y-%m-%d" }} » {{ post.title | capitalize }}
{% if site.posts != empty %}
{% for post in site.posts %} {% capture this_year %} {{ post.date | date: "%Y" }} {% endcapture %} {% unless year == this_year %} {% assign year = this_year %} {% unless post == site.posts.first %} {% endunless %}
{% endfor %}
{% else %}
No posts
{% endif %}