diff options
Diffstat (limited to 'hugolib/page.go')
-rw-r--r-- | hugolib/page.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index 9aa75a882..7b7d8d655 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -909,7 +909,7 @@ func (p *Page) update(f interface{}) error { o := cast.ToStringSlice(v) if len(o) > 0 { // Output formats are exlicitly set in front matter, use those. - outFormats, err := output.DefaultFormats.GetByNames(o...) + outFormats, err := p.s.outputFormatsConfig.GetByNames(o...) if err != nil { p.s.Log.ERROR.Printf("Failed to resolve output formats: %s", err) |