How to get Warnings when hugo overrides my files?

I have a structure like



        blog: /:title/

When has the same title the post from sub2 overrides the post from sub1. It’s ok, but is there a way to get a warning or even better get a compile error so I can adjust the titles to not collide with each other?

is there any way?

Not that I know of, unfortunately. I agree that those warnings would be very helpful to have.

I looked at the open issues but couldn’t find one for this. Looks like a good feature request however!