I’m trying to single out a type of page (i.e. release
type) from a certain section. Here is what I have so far:
{{ $releases := (where (where .Site.RegularPages "Section" "updates" ) isset .Params "release") }}
Now, I thought the outer where
would work just like:
(where (where .Site.RegularPages "Section" "updates" ) ".Params.Featured" true)
But that’s not the case. The build fails, exactly at the way I’m using isset
with this error:
<isset>: wrong number of args for isset: want 2 got 0
I’d really like to understand what I’m doing wrong here.