Printf not working correctly

I met some problem when I tried to use printf to debug. for instance, I write {{ printf “%#v” $.Site.Menus }} in my index.html, nothing will push to my powershell running “hugo server”, but the content will shown in the webpage…
I’ve no idea but it is not should be work like that right? :joy:

This is how it works. Use warnf to print to the terminal

1 Like

thanks bro

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.