Exactly! Thank you, I did it! If someone is interested - here’s my solution:
{{- $sortedPages := .Pages.ByParam "price" }}
{{ $paginator := .Paginate $sortedPages }}
{{- range $index, $page := $paginator.Pages }}
Exactly! Thank you, I did it! If someone is interested - here’s my solution:
{{- $sortedPages := .Pages.ByParam "price" }}
{{ $paginator := .Paginate $sortedPages }}
{{- range $index, $page := $paginator.Pages }}