I'm using [Hugo](https://gohugo.io/) to build my own website

I'm having a problem I have a \_index.html page, and that is my homepage

But when I try to loop over posts, it just prints text no posts are shown

```
 {{ range .Pages.ByDate }}
                    <div class="w-full md:w-1/2 md:px-3 mt-6">
                        <article class="h-full flex flex-col rounded-lg shadow-lg>
                            <h1>Post</h1>
                        </article>

                    {{ end }}

```