I need to sort all the recursive pages in multiple sections in the same folder by range. This is what I tried but got an error. execute of template failed at <(.Paginate (sort .RegularPagesRecursive “.Params.usage” “desc”)).Pages>: error calling Pages: runtime error: invalid memory address or nil pointer dereference
{{ range $i, $e := (.Paginate (sort .RegularPagesRecursive ".Params.usage" "desc")).Pages }}
{{ end }}
I checked the support posts but did not get any answers, any help would be appreciated