hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 8a48412c44012e66628f1ca54ebade0321d556a7
parent c00a1fcb7fc6a063725229c267a63b35dbf48d1a
Author: Scott C Wilson <scottcwilson@gmail.com>
Date:   Sun, 19 Jul 2015 21:02:03 -0400

On error, return error message, not nil

Diffstat:
Mtpl/template.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tpl/template.go b/tpl/template.go
@@ -197,7 +197,7 @@ func (t *GoHTMLTemplate) AddTemplateFile(name, baseTemplatePath, path string) er
 		compiler := amber.New()
 		// Parse the input file
 		if err := compiler.ParseFile(path); err != nil {
-			return nil
+			return err
 		}
 
 		if _, err := compiler.CompileWithTemplate(t.New(templateName)); err != nil {