How to Exclude Pages from Paginator

I remember vaguely that we at some point removed the ERROR message when you create several paginators on the same page, but with different arguments.

The thing is, if you do:

{{ $paginator := .Paginator }}
{{ $paginator := .Paginate (where .Data.Pages “Type” “not in” (slice “page”)) }}
{{ range $paginator.Pages }}

You will get the unfiltered result fuirom the first invocation. The above can be a little hard to debug.