mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
hugolib: Read default output formats from site config
This commit is contained in:
@@ -508,7 +508,7 @@ func (t *GoHTMLTemplate) loadTemplates(absPath string, prefix string) {
|
||||
},
|
||||
}
|
||||
|
||||
tplID, err := output.CreateTemplateID(descriptor)
|
||||
tplID, err := output.CreateTemplateNames(descriptor)
|
||||
if err != nil {
|
||||
t.Log.ERROR.Printf("Failed to resolve template in path %q: %s", path, err)
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user