Unmarshal failed with twitterCards

When starting Hugo’s server, I get the following error since version 0.92.2:
unmarshal failed: toml: key twitterCards is already defined
With version 0.92.1 I get neither warnings nor errors without changing anything in the configuration file.

Please share the file.

I suspect that you are experiencing this issue:
https://github.com/pelletier/go-toml/issues/739

1 Like

You are right. Sorry for the inconvenience. This is fixed and you can now close the issue.

There’s no need to apologize. You ran into an upstream bug that will eventually get fixed.

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