mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
@@ -456,8 +456,9 @@ func (t *GoHTMLTemplate) loadTemplates(absPath string, prefix string) {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
filepath.Walk(absPath, walker)
|
||||
if err := helpers.SymbolicWalk(hugofs.Source(), absPath, walker); err != nil {
|
||||
jww.ERROR.Printf("Failed to load templates: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
func (t *GoHTMLTemplate) LoadTemplatesWithPrefix(absPath string, prefix string) {
|
||||
|
Reference in New Issue
Block a user