mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Rename OutputType to OutputFormat
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user