layout | current | title | navigation | logo | class | subclass |
---|---|---|---|---|---|---|
page |
archive |
All Posts |
true |
page-template |
post page |
{%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 %}
- {% assign date_format = site.date_format.archive %} {{ post.date | date: '%Y-%m-%d' }} {{ post.title }} {% endfor %}