Remove unnecessary line

This commit is contained in:
wpetit 2020-02-12 22:04:04 +01:00
parent 18f2ffaaa9
commit b2a83e3022

View File

@ -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