Tomm
1
I understand this is caused by a Go update. But I can’t figure out how to fix it. Can anyone help?
{{ range .Pages | (where .Site.RegularPages "Section" "posts") }}
gives
can't give argument to non-function where .Site.RegularPages "Section" "posts"
Thank you.
{{ range where .Pages "Section" "foo" }}
{{ .Content }}
{{ end }}
or
{{ range where .Site.RegularPages "Section" "posts" }}
{{ .Content }}
{{ end }}
1 Like
system
Closed
3
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.