Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 1 KB

posts.md

File metadata and controls

24 lines (23 loc) · 1 KB
layout title permalink
page
Archive
/posts/
{% 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 %} {% if post.link %} {% else %} {% endif %} {% endfor %}