hugolib: Fix rendered empty msg

Changes `%q` to `%s`. `%q` was safely escaping the `\` in windows so that it was printing `\\`.
This commit is contained in:
Chase Adams authored and Bjørn Erik Pedersen committed 2016-11-30 00:03:47 +01:00
1 parent b2eadd93d3
commit c87331ae84
1 file changed
+1 -1
+1 -1
View File
@@ -1768,7 +1768,7 @@ func (s *Site) renderAndWritePage(name string, dest string, d interface{}, layou
if outBuffer.Len() == 0 { if outBuffer.Len() == 0 {
jww.WARN.Printf("%q is rendered empty\n", dest) jww.WARN.Printf("%s is rendered empty\n", dest)
if dest == "/" { if dest == "/" {
debugAddend := "" debugAddend := ""
if !viper.GetBool("verbose") { if !viper.GetBool("verbose") {