How Range .Pages works?

Hello,
First, Thank you for this awesome tool,
I’m not a developer but I Know, basic programming and I know quite well HTML CSS/Sass and some templating languages.
Here is my content structure

content
  _index.md
  - post
    - _index.md
    - post-1.md
    - post-2.md

I’m on MacOS BigSur and I have an issue with {{ range .Pages }} it does not list pages in post/ but when I do {{ range $.Site.RegularPages }} it works

What am I doing wrong?
My goal is to display a list of blog posts on my homepage, just 2 templates basically an homepage with a list and a single page for each blog post.

Thank you

1 Like

have a look at https://gohugo.io/variables/site/#site-pages