mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02: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:
committed by
Bjørn Erik Pedersen
parent
b2eadd93d3
commit
c87331ae84
@@ -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") {
|
||||||
|
Reference in New Issue
Block a user