Hi,
I need help to create a simple one page Archive like:
I’d like to see an example if possible - controller and template - to display all the blog articles published by year.
Thanks.
Hi,
I need help to create a simple one page Archive like:
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.
Very simple, thanks a lot for the help!
Have a nice day Sonja