URI: 
       tpl: Ensure site templates can override theme templates - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 084cf4191b3c1e7590a4223fd9251019ef5d4c21
   DIR parent fc06d5c18bb1e47f90f0297aa8121ee0775e047d
  HTML Author: Cameron Moore <moorereason@gmail.com>
       Date:   Sun,  4 Feb 2018 22:13:52 -0600
       
       tpl: Ensure site templates can override theme templates
       
       The tplimpl package was misusing the TemplateLookupDescriptor.WorkingDir
       field from the output package. By incorrectly setting it to the theme
       directory instead of the site root, the user is unable to override theme
       templates in some situations.
       
       Fixes #3505
       
       Diffstat:
         M tpl/tplimpl/template.go             |       1 -
       
       1 file changed, 0 insertions(+), 1 deletion(-)
       ---
   DIR diff --git 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"
                                }