mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
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:
parent
b2eadd93d3
commit
c87331ae84
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||||
|
|
Loading…
Reference in a new issue