With blogs grouped into months grouped into years.
The issue is the news page uses a HubDB in the backend, so it functions a little differently to blogs, and I'm having a huge amount of trouble getting blog posts to group together by year.
I can print the publish year with
{% for post in all_posts %}
{% set post_year = post.publish_date_local_time|datetimeformat('%Y') %}
{{ post_year }}
{% endfor %}
I've tried grouping them with
{% set yearGroup = posts|groupby(publish_date_local_time|truncate(4)) %}