From 9678f68e0f7bd2b65f6fc833c8ff913c2c320ad4 Mon Sep 17 00:00:00 2001 From: "Fabrizio (Misto) Milo" Date: Sun, 1 Sep 2013 10:58:06 -0700 Subject: [PATCH] add fix --- hugolib/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugolib/template.go b/hugolib/template.go index 161589808..6175cb111 100644 --- a/hugolib/template.go +++ b/hugolib/template.go @@ -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 }