Hugo generates page/1 directory in output for page bundles

I am using Page Bundles to organize my content, and it works very well. However, I noticed that apart from the index.html file containing my content, Hugo also generates a page/1/index.html that redirects to the content index.html.

Is there a way to suppress this output? I don’t see a use for it, but maybe I’m missing something.

Live with it or write a post hugo shell script that deletes all page/1/ directories. This is for speed. Would you have page bundles with more than x items it would need a page/1 - page/2 structure. Right now if you check what’s inside of that directory you will see it’s a redirect to the non-page/1-parent page.

Thank you, that answers my question. I wanted to make sure I hadn’t missed a configuration parameter.

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