Content/ gets shadowed by content/foo/

I’m wondering if this is intended behaviour or is there something I am missing.
I did “hugo new”, expecting a “foo.html”, instead I can access the content/ at /foo/.
But then, when you add foo/, /foo/ would be the list-view and not the page-view of
So then becomes a useless file? Unaccessible?

Is there something I am missing?

This is the expected, default behavior.

Run hugo --path-warnings to detect duplicate target paths.

1 Like

Allright, I’ll keep that in mind and just not do it then!
Thank you!

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