diff --git a/templates.go b/templates.go index fe90ae8..6314c28 100644 --- a/templates.go +++ b/templates.go @@ -108,7 +108,7 @@ func (t *Templates) Load(dir string, exts []string) error { if err != nil { return err } - if d.Type().IsRegular() { + if d.Type().IsRegular() || d.Type()&fs.ModeSymlink != 0 { if err := t.LoadTemplate(fsys, path); err != nil { return err }