Remove unnecessary line
This commit is contained in:
parent
18f2ffaaa9
commit
b2a83e3022
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue