From: Chase Adams Date: Tue, 29 Nov 2016 23:03:47 +0000 (-0800) Subject: hugolib: Fix rendered empty msg X-Git-Tag: v0.18~36 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c87331ae8427b578655a88e8fb6286aa4774d060;p=brevno-suite%2Fhugo hugolib: Fix rendered empty msg Changes `%q` to `%s`. `%q` was safely escaping the `\` in windows so that it was printing `\\`. --- diff --git a/hugolib/site.go b/hugolib/site.go index 87ab050b..bddaa97f 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -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") {