mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00: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:
1 parent
b2eadd93d3
commit
c87331ae84
1 file changed
+1
-1
+1
-1
@@ -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