mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-21 12:20:57 +00:00
add fix
This commit is contained in:
parent
535a44c205
commit
9678f68e0f
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ func (t *GoHtmlTemplate) LoadTemplates(absPath string) {
|
|||
}
|
||||
|
||||
// note t.New(tplName)
|
||||
if tpl, err := compiler.CompileWithTemplate(t.New(tplName)); err != nil {
|
||||
if _, err := compiler.CompileWithTemplate(t.New(tplName)); err != nil {
|
||||
PrintErr("Could not compile amber file: "+path, err)
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue