mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 23:11:32 -05:00
parent
ec23aa998a
commit
285807ba7a
1 changed files with 3 additions and 2 deletions
|
@ -456,8 +456,9 @@ func (t *GoHTMLTemplate) loadTemplates(absPath string, prefix string) {
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if err := helpers.SymbolicWalk(hugofs.Source(), absPath, walker); err != nil {
|
||||||
filepath.Walk(absPath, walker)
|
jww.ERROR.Printf("Failed to load templates: %s", err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *GoHTMLTemplate) LoadTemplatesWithPrefix(absPath string, prefix string) {
|
func (t *GoHTMLTemplate) LoadTemplatesWithPrefix(absPath string, prefix string) {
|
||||||
|
|
Loading…
Reference in a new issue