-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest go-toml doesn't work #3142
Comments
Looks like it is Windows only? See #3146 |
@bep I ran the same test on my Debian machine and here is the result (Well, part of it):
|
OK, I'll assume you're not vendoring (i.e. using |
Remove "image" setting as the "WMF 5" image is deprecated. Fixes gohugoio#3061, gohugoio#3142
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Using hugo v0.19 on linux and trying to create a new site, will generate an empty config.toml:
hugo new site .
I investigated the problem a little bit and it turned out that the a recent commit in go-toml broke the backward compatibility pelletier/go-toml@7e6e4b1
They changed the tree.String function and it now calls ToWrite which asserts each config value against tomlValue type that will fail.
I am not sure what is the correct way to fix it, but I like help if you give me some hints. For instance maybe change the default config defined in createConfig before sending it to TreeFromMap
The text was updated successfully, but these errors were encountered: