diff options
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r-- | hugolib/hugo_sites_build.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go index 32f1d56be..970948bb3 100644 --- a/hugolib/hugo_sites_build.go +++ b/hugolib/hugo_sites_build.go @@ -177,7 +177,7 @@ func (h *HugoSites) assemble(config *BuildCfg) error { for _, p := range s.Pages { // May have been set in front matter if len(p.outputFormats) == 0 { - p.outputFormats = s.defaultOutputDefinitions.ForKind(p.Kind) + p.outputFormats = s.outputFormats[p.Kind] } if err := p.initTargetPathDescriptor(); err != nil { return err |