mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Revert "tpl: Fix baseof.html in error message"
I need to rethink this.
This reverts commit 646a52a5c5
.
This commit is contained in:
parent
646a52a5c5
commit
8e825ddf5b
1 changed files with 2 additions and 2 deletions
|
@ -568,7 +568,7 @@ func (t *htmlTemplates) handleMaster(name, overlayFilename, masterFilename strin
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
masterTpl, err = t.t.New(masterFilename).Parse(templ)
|
masterTpl, err = t.t.New(overlayFilename).Parse(templ)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -609,7 +609,7 @@ func (t *textTemplates) handleMaster(name, overlayFilename, masterFilename strin
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
masterTpl, err = t.t.New(masterFilename).Parse(templ)
|
masterTpl, err = t.t.New(overlayFilename).Parse(templ)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue