Debugging hugo: why a file in content is not arriving in the output?

Hi there,

Please have a read about Requesting Help because it’s difficult to help you without seeing your site context and configuration. It’s easier to clone your site than to attempt to recreate your setup.

Generally, Hugo will render your site to match the structure of your content:

So:

content/foo.md => yoursite.com/foo/

Collisions might occur when you have different content files that may render into the same URL. If for example the above page foo.md were transformed into a page bundle:

content/foo/index.md => yoursite.com/foo/

If you retain foo.md then both content files will try to be rendered to the same URL.


That is just one scenario where it might occur. There are others. Again, it is easier to help you if we can see your site code.