You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We uncovered this problem when assets/data contained a text file (there's nothing wrong with that), resulting in this error when calling .Site.Data
Error: error building site: failed to load data: failed to load data: "/home/user/project/assets/data/foo.txt:1:1": unmarshal of format "" is not supported
Apologise a little for not fixing this sooner, I have fixed issues in a "first see" order, so to speak, and didn't see this until today. I have a fix on its way.
Works as expected with v0.122.0.
Tested with hugo v0.124.0-DEV-7508a16.
failing test case
Reference: https://discourse.gohugo.io/t/unable-to-load-text-file-from-global-resource/48365
The text was updated successfully, but these errors were encountered: