Duplicate paths

I am getting a lot of duplicate paths (like all my 800+ pages, see example below) with hugo printPathWarnings in the recent versions of Hugo. I have not changed my content files lately. Is there a way to know how or why this is happening? The only changes I did is incorporate Bep’s Tailwind starter template.

WARN 2022/05/10 22:56:55 Duplicate target paths: \index.html (2), \index.xml (2)

So you are calling PostProcess

https://github.com/gohugoio/hugo/issues/7735

Indeed! So it is a false positive?

Yes.

To be sure, disable PostProcess and test again.

You are right. I was using another implementation of Tailwind before this and these issues did not come up (no PostProcess was used in that implementation). It seems this bug needs some attention soon.

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