From: Bjørn Erik Pedersen Date: Sun, 7 Oct 2018 19:08:41 +0000 (+0200) Subject: Revert "tpl: Fix baseof.html in error message" X-Git-Tag: v0.50~69 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8e825ddf5;p=brevno-suite%2Fhugo Revert "tpl: Fix baseof.html in error message" I need to rethink this. This reverts commit 646a52a5c5f52890f2d0270b68ba0f863047484a. --- diff --git a/tpl/tplimpl/template.go b/tpl/tplimpl/template.go index 54f4aeda..f19c312e 100644 --- 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 }