diff options
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r-- | hugolib/hugo_sites_build.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go index ce7271cd3..5a008a516 100644 --- a/hugolib/hugo_sites_build.go +++ b/hugolib/hugo_sites_build.go @@ -176,8 +176,8 @@ func (h *HugoSites) assemble(config *BuildCfg) error { for _, s := range h.Sites { for _, p := range s.Pages { // May have been set in front matter - if len(p.outputTypes) == 0 { - p.outputTypes = s.defaultOutputDefinitions.ForKind(p.Kind) + if len(p.outputFormats) == 0 { + p.outputFormats = s.defaultOutputDefinitions.ForKind(p.Kind) } } s.assembleMenus() |