I have events groupByParamDate startDate
I want to loop them in the reverse order
No they come out like here:
year 2023
- ev Jan 2023
- ev Apr 2023
- ev Aug 2023
I want them to come out
year 2023
- ev Aug 2023
- ev Apr 2023
- ev JAN 2023
So I have:
{{ range .Data.Pages.GroupByParamDate "startDate" "2006" }}
{{ .Key }}
{{ $ex := .Pages.ByParam "startDate" }}
<ul>
{{ range $ex }}
<li>{{ partial "thumb-exhibitions.html" (dict "ctx" . "type" "") }}</li>
{{ end }}
<ul>
{{ end }}
any idea?