I figured out what was wrong. The query breaks when there is a .md file without an options.unlisted setting.
Otherwise, this works perfectly:
{{ range where .Site.RegularPages ".Params.options.unlisted" true }}
I figured out what was wrong. The query breaks when there is a .md file without an options.unlisted setting.
Otherwise, this works perfectly:
{{ range where .Site.RegularPages ".Params.options.unlisted" true }}