-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
TOML array not parsed #2752
Comments
This was fixed like in the last week -- are you really sure you have tested this with the latest Hugo? And, make sure you build Hugo with |
Will definitely recheck, but I did use "go get -u + go build, which should have updated and rebuild". |
Hugo Static Site Generator v0.18-DEV BuildDate: 2016-11-30T08:57:46Z |
git log for the golang source: "971d1ba commands: Add noChmod option to disable perm sync" |
That is sadly not a proof since the fix was in the go-toml library. We use govendor to do vendoring, and I must admit that I'm no expert here ... But the makefile should help out. |
Triple checked. Updated go vendor, updated deps, rebuild. Using make and without. Toml still comes up empty. |
Might this be an issue with using arrays within arrays? It seems with the right syntax on both yaml and toml, both return an empty array. |
You are right, Hugo does something weird in this case. |
@moorereason I'm pretty sure this is not a 0.18 regression. |
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. |
Within my front-matter I have the following toml:
Rendering {{ .Params }} returns an empty social [ ].
I retried using yaml:
Version used: Hugo master and Hugo 0.17 were tested. Both render an empty social [ ].
The text was updated successfully, but these errors were encountered: