# Starting with Hugo. Can't see list of posts

**URL:** <https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509>\
**Category:** support\
**Created:** [December 19, 2023, 3:55pm UTC](https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509 "2023-12-19T15:55:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roberto\_Gimenez](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/roberto_gimenez/32/20883_2.png) [@Roberto\_Gimenez](https://discourse.gohugo.io/u/Roberto_Gimenez)\
**Post date:** [December 19, 2023, 3:55pm UTC](https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509/1 "2023-12-19T15:55:52Z")

</div>

Hi,

I’m starting with Hugo and never ever seen anything more complex than this. I read the documentation but still it’s not working as expected.

So I created my blog site and I created several folders in my content folder. This is going to be a multilingual post, so I’ve created a folder in content folder for each language. I want to list my posts in the home page, it should be easy but when I do this

{{ $totalPosts := len .Site.RegularPages }}

Total de posts: {{ $totalPosts }}

{{ range .Site.AllPages }}

## {{ .LinkTitle }}

{{ end }}

Nothing is coming, 0 posts, but I can see the full list when I do in my console hugo list all.

I tried creating a new folder under content called posts and entering there new folders with posts, but it’s not working either.

My structure is  
content/  
en/  
nasa/\_index.md  
iceHotel/\_index.md

You can snoop in my repo here: [https://gitlab.com/mytraveltreasuryappsandclouds/Blog](https://gitlab.com/mytraveltreasuryappsandclouds/Blog)

any ideas what’s wrong here?

Thanks!

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [December 19, 2023, 4:05pm UTC](https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509/2 "2023-12-19T16:05:50Z")

</div>

`https://gitlab.com/mytraveltreasuryappsandclouds/Blog` → 404

---

<div class="post-metadata">

**Author:** ![Roberto\_Gimenez](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/roberto_gimenez/32/20883_2.png) [@Roberto\_Gimenez](https://discourse.gohugo.io/u/Roberto_Gimenez)\
**Post date:** [December 19, 2023, 7:21pm UTC](https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509/3 "2023-12-19T19:21:57Z")

</div>

> [@jmooring](#):
>
> mytraveltreasuryappsandclouds

Is it a problem with your account? I can see it without problem.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/3X/4/f/4f9829b28a39b9b66c8ecbf5a73039fc7a00b57e.jpeg)

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [December 19, 2023, 7:24pm UTC](https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509/4 "2023-12-19T19:24:28Z")

</div>

You repo is probably private.

---

<div class="post-metadata">

**Author:** ![Roberto\_Gimenez](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/roberto_gimenez/32/20883_2.png) [@Roberto\_Gimenez](https://discourse.gohugo.io/u/Roberto_Gimenez)\
**Post date:** [December 19, 2023, 9:48pm UTC](https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509/5 "2023-12-19T21:48:29Z")

</div>

I created a copy here [GitHub - robergimenez/hugo](https://github.com/robergimenez/hugo)

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [December 19, 2023, 10:40pm UTC](https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509/6 "2023-12-19T22:40:56Z")

</div>

Your site does not have any .RegularPages…

![image](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/3X/7/7/77da5075dd744126206393f7a5f18d7c2e6922d5.png)

They are all section pages.

See [https://gohugo.io/quick-reference/page-collections/](https://gohugo.io/quick-reference/page-collections/)

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [December 25, 2023, 12:01pm UTC](https://discourse.gohugo.io/t/starting-with-hugo-cant-see-list-of-posts/47509/7 "2023-12-25T12:01:48Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
