More verbose log for --printPathWarnings

Something is breaking my multilingual homepage constantly (especially on livereload) in the last week on hugo serve after implementing multipage posts. I was finally able to find out this error WARN Duplicate target paths: \index.html (3), \de\index.html (3) via --printPathWarnings. The error disappears once I delete the multipage posts. Is there a way to get a more verbose log of what is causing this?

No. It’s just a simple counter that logs the path if more than 1 file is written to the same location.

You could try hugo --debug (I think we print some info about each rendered page).

Turns out each page in the bundle of the multipage requires a slug or URL variable in frontmatter.

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