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
Garbled TOML archetype parsing in hugo new #2745
Comments
I have been seeing this too (on v0.17 too). The TOML front matter always comes up in random order. |
@kaushalmodi ordering of the TOML isn't this issue, but #452 -- and, btw, it isn't random, the order is undefined. Which is different. |
@bep Thanks. I realize that I already had commented on that issue thread too. |
This may be fixed by pelletier/go-toml#111 |
I have updated go-toml, would be cool if someone could test it out. |
This looks to be working fine with the latest Hugo. |
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. |
See https://discuss.gohugo.io/t/hugo-new-command-scrambles-front-matter/4682
Probably an issue with the new TOML lib. We should report it there, but a fix for this is more likely a proper fix for #452 -- which we may just have to do now.
Probably related to
The text was updated successfully, but these errors were encountered: