layout | title |
---|---|
page |
Archive |
{% for post in site.posts %} {% assign currentDate = post.date | date: "%Y" %} {% if currentDate != myDate %} {% unless forloop.first %}{% endunless %}
-
{% assign myDate = currentDate %}
{% endif %}
- {{ post.date | date: "%B %-d, %Y" }} - {{ post.title }} {% if forloop.last %}