Template debugging - console output

Is there any way to generate console output from templates?
I want to create warnings for wrong custom template use.

Try errorf/warnf https://gohugo.io/functions/errorf/#readout

:face_with_monocle: missed it THANKS

2 Likes