--- permalink: /posts title: Posts layout: simple.liquid data: route: posts --- Post by tag {% assign years = "2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011" | split: ", " %} {% for year in years -%} {%- for post in collections.posts.pages %} {%- assign postyear = post.published_date | date: "%Y" %} {%- if postyear == year %} {%- endif %} {%- endfor %} {%- endfor %}
 

{{year}}

{{ post.published_date | date: "%d. %b"}} {{post.title}}