Hello, everybody,
I have a range
one Site.Data
that works very well.
{{ range first 52 (where .Site.Data.petiteannonce "cityName" "eq" .Params.city) }}
Nevertheless, I would like to sort it by date.
I have a dateadd params that corresponds to a php timestamp.
I started to try this way but it’s still not working.
{{ range first 52 (where .Site.Data.petiteannonce "cityName" "eq" .Params.city (where "dateAdd" "ge" .Now.Unix) ) }}
Thank you in advance for your help.