summaryrefslogtreecommitdiffstats
path: root/hugolib/page_content.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page_content.go')
-rw-r--r--hugolib/page_content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page_content.go b/hugolib/page_content.go
index af13d8a38..924400aea 100644
--- a/hugolib/page_content.go
+++ b/hugolib/page_content.go
@@ -91,7 +91,7 @@ Loop:
result.Write(it.Val)
case it.IsFrontMatter():
f := metadecoders.FormatFromFrontMatterType(it.Type)
- m, err := metadecoders.UnmarshalToMap(it.Val, f)
+ m, err := metadecoders.Default.UnmarshalToMap(it.Val, f)
if err != nil {
if fe, ok := err.(herrors.FileError); ok {
return herrors.ToFileErrorWithOffset(fe, iter.LineNumber()-1)