permalink |
---|
/2022/ |
{% assign currentYear = "2022" %}
{% for post in site.posts %}
{% assign postYear = post.date | date: "%Y" %}
{% assign postYearMonth = post.date | date: "%B %Y" %}
{% if postYear != currentYear %}
{% continue %}
{% endif %}
{% if hasDisplayedYear != postYear %}
{% endif %}
{% assign hasDisplayedYear = postYear %}
{% if hasDisplayedYearMonth != postYearMonth %}
{% endif %}
{% assign hasDisplayedYearMonth = postYearMonth %}
- [ {{ post.title }} ]( {{ post.url }} ) {% endfor %}