Listing multiple types on home page

Hi guys,

I want to list multiple sections, as so:

{{ $paginator := .Paginate (where (where .Pages "section" "in" (slice "section-1" "section-2" "section-3")).ByDate.Reverse "Params.hidden" "!=" true) 10 }}
    {{ range (.Paginator 10).Pages }}

I’ve tried .Data.Pages, .Site.Pages, .Site.RegularPages, and “type,” which is what I’d prefer to use, however the sections are both types and sections.

I get failed template error:

_default\list.html:152:35: executing “main” at <where .Pages "sectio…>: error calling where: section isn’t a field of struct type *hugolib.Page

The same thing happens with ‘type’.

It only seems to work when I use one type and not ‘in’ with the slice:

{{ $paginator := .Paginate (where (where .Pages "Type" "post").ByDate.Reverse "Params.hidden" "!=" true) 10 }}

Anyone know the fix?