mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-19 09:41:24 -04:00
tpl/tplimpl: Fix dropped error
This commit is contained in:
parent
a692278bc6
commit
625162674d
@ -758,6 +758,9 @@ var embeddedTemplatesFs embed.FS
|
||||
|
||||
func (t *templateHandler) loadEmbedded() error {
|
||||
return fs.WalkDir(embeddedTemplatesFs, ".", func(path string, d fs.DirEntry, err error) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if d == nil || d.IsDir() {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user