Skip to content

Commit

Permalink
Oops, missed one.
Browse files Browse the repository at this point in the history
  • Loading branch information
inchworks committed Jan 17, 2025
1 parent 67ce294 commit a186f50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/web/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,7 @@ func initialise(cfg *Configuration, errorLog *log.Logger, infoLog *log.Logger, t
}

// initialise template cache
templateCache, err := stack.NewTemplates(pts, forApp, os.DirFS(filepath.Join(SitePath, "templates")), templateFuncs)
//templateCache, err := stack.NewTemplatesLayered(templateFuncs, pts, forApp, os.DirFS(filepath.Join(SitePath, "templates")))
templateCache, err := stack.NewTemplatesLayered(templateFuncs, pts, forApp, os.DirFS(filepath.Join(SitePath, "templates")))
if err != nil {
errorLog.Fatal(err)
}
Expand Down

0 comments on commit a186f50

Please sign in to comment.