hugolib: Fix rendered empty msg
authorChase Adams <realchaseadams@gmail.com>
Tue, 29 Nov 2016 23:03:47 +0000 (15:03 -0800)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 29 Nov 2016 23:03:47 +0000 (00:03 +0100)
Changes `%q` to `%s`. `%q` was safely escaping the `\` in windows so that it was printing `\\`.

hugolib/site.go

index 87ab050b0e021a90486d237cd80152025546d0db..bddaa97f65586194f407127661bf952783a239bd 100644 (file)
@@ -1768,7 +1768,7 @@ func (s *Site) renderAndWritePage(name string, dest string, d interface{}, layou
 
        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") {