diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-10-07 21:08:41 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-10-07 21:08:41 +0200 |
commit | 8e825ddf5b31ce5fe570c78ac7a78c8056fb60f9 (patch) | |
tree | c50ea4931bc05be44192cd3178c62f24ec2c72d4 | |
parent | 646a52a5c5f52890f2d0270b68ba0f863047484a (diff) |
Revert "tpl: Fix baseof.html in error message"
I need to rethink this.
This reverts commit 646a52a5c5f52890f2d0270b68ba0f863047484a.
-rw-r--r-- | tpl/tplimpl/template.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/tplimpl/template.go b/tpl/tplimpl/template.go index 54f4aeda7..f19c312ec 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 } |