Hugo

Strange /page/01/ folder in public

Something weird: each time I export my template I get a /public/page/01 in both, the root and in the /content/ folder.

I checked, there’s nothing creating that? What does it sounds to you, community? page/01? sounds to pagination to me, but I’m not using it.

My folders are:

/wep/content/about-us/index.md
/wep/content/featured/_index.md
    /wep/content/featured/cosa.md
    /wep/content/featured/kojima.md
    /wep/content/featured/sonic.md
    /wep/content/featured/_index.md

I don’t see something that will output “page/01/index.html (canonical to /featured)” here…

Your template probably use pagination: https://gohugo.io/templates/pagination/#readout

It’s redirecting to the page above, it’s an alias.

Hi,

You know the drill for Requesting Help : we need to see your code to help.

2 Likes