I\'m rewriting my blog to use Jekyll. Jekyll uses the Liquid templating language so it makes it a little more difficult to learn how to customize.
I\'d like to group
{% for post in site.posts %}
{% assign year = post.date | date: "%Y" %}
{% if year != prev_year %}
{{year}}
{% endif %}
-
{{ post.date | date: "%B %e, %Y" }}
{{ post.title }}
{% assign prev_year = year %}
{% endfor %}