diff options
Diffstat (limited to 'hugolib/site.go')
-rw-r--r-- | hugolib/site.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site.go b/hugolib/site.go index 2fd9f17ee..c6d203d8a 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -1014,7 +1014,7 @@ func (s *Site) readData(f source.ReadableFile) (interface{}, error) { content := helpers.ReaderToBytes(file) format := metadecoders.FormatFromString(f.Extension()) - return metadecoders.Unmarshal(content, format) + return metadecoders.Default.Unmarshal(content, format) } func (s *Site) readDataFromSourceFS() error { |