hugo

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

git clone git://git.shimmy1996.com/hugo.git
commit b98c2088f83dfa663b2d74c959b0935deecdf399
parent 4b9e4c90d923d8d998ec57b9db5fdd34a299505b
Author: Oscar Bolmsten <oscar@bolmsten.se>
Date:   Sun,  5 Oct 2014 09:41:54 +0200

Minor fix to error message when copying static files

Diffstat:
Mcommands/hugo.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/hugo.go b/commands/hugo.go
@@ -216,7 +216,7 @@ func build(watches ...bool) {
 func copyStatic() error {
 	staticDir := helpers.AbsPathify(viper.GetString("StaticDir")) + "/"
 	if _, err := os.Stat(staticDir); os.IsNotExist(err) {
-		jww.ERROR.Println("Unable to find Static Directory:", viper.GetString("theme"), "in", staticDir)
+		jww.ERROR.Println("Unable to find Static Directory:", staticDir)
 		return nil
 	}
 
@@ -225,7 +225,7 @@ func copyStatic() error {
 	if themeSet() {
 		themeDir := helpers.AbsPathify("themes/"+viper.GetString("theme")) + "/static/"
 		if _, err := os.Stat(themeDir); os.IsNotExist(err) {
-			jww.ERROR.Println("Unable to find static directory for theme :", viper.GetString("theme"), "in", themeDir)
+			jww.ERROR.Println("Unable to find static directory for theme:", viper.GetString("theme"), "in", themeDir)
 			return nil
 		}