diff --git a/template.go b/template.go index 5bea7d4..002386f 100644 --- a/template.go +++ b/template.go @@ -104,7 +104,7 @@ func processTemplate(params []string, conf *config) (err error) { log.Printf("process template %s to %s", srcPathAbs, dstPathAbs) } - t, err := template.New(srcPath).ParseFiles(srcPathAbs) + t, err := template.ParseFiles(srcPathAbs) if err != nil { return err }