diff --git a/template/html/service.go b/template/html/service.go index cc05848..5108fba 100644 --- a/template/html/service.go +++ b/template/html/service.go @@ -39,7 +39,6 @@ func (t *TemplateService) LoadLayout(name string, layout string, blocks []string // LoadTemplatesDir loads the templates used by the service func (t *TemplateService) LoadTemplatesDir(templatesDir string) error { - layoutFiles, err := filepath.Glob(filepath.Join(templatesDir, "layouts", "*.tmpl")) if err != nil { return err