Group pages by year from a custom .Params.startDate

Hi,

I have an events section, every event has a custom .Params.startDate

.Params.startDate is not the same with any page variable (.Date, .ExpiryDate, .Lastmod, and .PublishDate.) but is a date format like this: 2022-08-08T23:00:00.000Z

I would like to achieve exactly the same thing like with .GroupByDate but dependent by .Params.startDate - is that possible?

https://gohugo.io/templates/lists/#by-page-parameter-in-date-format

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.