layout |
---|
default |
{%for post in site.posts %}
{% unless post.next %}
-
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
-
{% endif %}
{% endunless %}
- {{ post.date | date: "%b %-d" }} - {{ post.title }} {% endfor %}