shithub: hugo

Download patch

ref: c87331ae8427b578655a88e8fb6286aa4774d060
parent: b2eadd93d3e8b066c7c1b344078f6ee159603cb3
author: Chase Adams <[email protected]>
date: Tue Nov 29 10:03:47 EST 2016

hugolib: Fix rendered empty msg

Changes `%q` to `%s`. `%q` was safely escaping the `\` in windows so that it was printing `\\`.

--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -1768,7 +1768,7 @@
 
 	if outBuffer.Len() == 0 {
 
-		jww.WARN.Printf("%q is rendered empty\n", dest)
+		jww.WARN.Printf("%s is rendered empty\n", dest)
 		if dest == "/" {
 			debugAddend := ""
 			if !viper.GetBool("verbose") {