Question about range (.Paginate (where .Site.RegularPages "Type" "blog"))

Hi I’am facing a similar issue.
{{ range (.Paginate (where .Site.RegularPages “Type” “blog”)) }}
{{ .Title}}
{{ end }}

But getting error that "range can’t iterate over ".
{{ range where .Site.RegularPages “Type” “blog” }} {{ .Title}} {{ end }} works and list all the titles.

Hi there,

The post you were replying to is 2+ years old and had been marked solved.

Please read Requesting Help to see how to ask for help in this forum.

1 Like