Archive - Blog articles published by years

Hi,
I need help to create a simple one page Archive like:
https://viljamis.com/archive/
I’d like to see an example if possible - controller and template - to display all the blog articles published by year.
Thanks.

That can be achieved with the group() method.

Example code: https://getkirby.com/docs/cookbook/content/grouping-collections#complex-grouping

The example is exactly what you need for what you want to achieve.

2 Likes

Very simple, thanks a lot for the help!
Have a nice day Sonja :slight_smile: