How to make index page a list sourced from specific folder

Hello,

I am trying to create a blog.
The index page should be a list of posts. I want posts to be under /content/posts. If I use .Pages, it would give me a list of all folders under “/content” (for example “posts”, “about”, etc).
My content folder looks like this:
/content
/about
/posts

How can I make index page list be sourced from “/posts” sub-folder of “/content”?

You mean something like this:

{{ range where .Site.RegularPages "Section" "posts" }}

Wonderful! Exactly what I was looking for. Thank you! :slight_smile: