Skip to content

Commit

Permalink
Remove debug print from newTemplateCache
Browse files Browse the repository at this point in the history
  • Loading branch information
vojta001 committed Apr 21, 2021
1 parent 1e31b77 commit e0c0348
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/web/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0c0348

Please sign in to comment.