hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 8e825ddf5b31ce5fe570c78ac7a78c8056fb60f9
parent 646a52a5c5f52890f2d0270b68ba0f863047484a
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun,  7 Oct 2018 21:08:41 +0200

Revert "tpl: Fix baseof.html in error message"

I need to rethink this.

This reverts commit 646a52a5c5f52890f2d0270b68ba0f863047484a.

Diffstat:
Mtpl/tplimpl/template.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tpl/tplimpl/template.go b/tpl/tplimpl/template.go
@@ -568,7 +568,7 @@ func (t *htmlTemplates) handleMaster(name, overlayFilename, masterFilename strin
 			return err
 		}
 
-		masterTpl, err = t.t.New(masterFilename).Parse(templ)
+		masterTpl, err = t.t.New(overlayFilename).Parse(templ)
 		if err != nil {
 			return err
 		}
@@ -609,7 +609,7 @@ func (t *textTemplates) handleMaster(name, overlayFilename, masterFilename strin
 			return err
 		}
 
-		masterTpl, err = t.t.New(masterFilename).Parse(templ)
+		masterTpl, err = t.t.New(overlayFilename).Parse(templ)
 		if err != nil {
 			return err
 		}