diff --git a/tpl/tplimpl/template.go b/tpl/tplimpl/template.go index e13dd0aaad8..25757abc426 100644 --- a/tpl/tplimpl/template.go +++ b/tpl/tplimpl/template.go @@ -443,7 +443,6 @@ func (t *templateHandler) loadTemplates(absPath string, prefix string) { ) if themeDir != "" && strings.HasPrefix(absPath, themeDir) { - workingDir = themeDir layoutDir = "layouts" }