I’m currently trying to customize my
tag.hbs in a way, that it is listing all posts of this tag and ordering it per year.
Here an example of what I want to achieve:
<Tag-Title> <tag-description> 2019 - Post-Title5 - Post-Title4 2018 - Post-Title3 - Post-Title2 2017 - Post-Title1
This means I somehow need to access the date and do some comparisons… However, I’m unsure how this can be achieved.
Any hints are welcome