Remove debug print from newTemplateCache

This commit is contained in:
Vojtěch Káně
2021-04-21 12:13:03 +02:00
parent 1e31b770ca
commit e0c0348db2

View File

@@ -35,8 +35,6 @@ func newTemplateCache(dir string) (map[string]*template.Template, error) {
}
if layouts, err := filepath.Glob(filepath.Join(dir, "*.layout.tmpl.html")); err == nil && len(layouts) > 0 {
fmt.Println(layouts)
fmt.Println(filepath.Rel(dir, layouts[0]))
ts, err = ts.ParseFiles(layouts...)
if err != nil {
return nil, err