{{ range where .Pages "Section" "not in" (slice "cards" "library") }} {{ partial "items/post-small" . }} {{ end }}