mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
1 parent
ec23aa998a
commit
285807ba7a
1 file changed
+3
-2
+3
-2
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user