{{ .range }} through specific folder

So I use {{ range .Site.RegularPages }} in my homepage to loop through blog posts, But this brings ALL the pages including the ones in the /pages folder which are not posts.

How can I only loop through /posts section? What is the query?

{{- range where .Site.RegularPages "Type" "posts" -}}

Thank you !