title | layout |
---|---|
archive |
page |
-
{% for post in site.posts %}
{% capture y %}{{post.date | date:"%Y"}}{% endcapture %}
{% if year != y %}
{% assign year = y %}
- {{ y }} {% endif %}
- {{ post.date | date:"%Y-%m-%d" }} {{ post.title }} {% endfor %}