`hugo mod init ..` fails to create go.mod if hugo detects an error prematurely in site config.toml

From the inital post:

It took me some unreasonable amount to time to figure out what the problem was. I hope this is categorized as a bug and fixed.

I realize that this problem persists and is not only affecting me, but other hugo users as well, i.e. when using themes that bring in custom output formats. Therefore, as a friendly reminder and ping:

  • Is there consensus that this can be considered as bug?
  • Is/can this issue be tracked on hugo’s github repo?
  • Any plans to address this issue eventually?

Thanks!