mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
@@ -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 {
|
||||
|
Reference in New Issue
Block a user