I use errorf
for errors that break my content, such as missing target for my include
shortcode or wrong values for our company-specific metadata. It stops the build and I want it to stop the build.
However, I’d like to have an option to display a WARNING that does not stop the build. I know Hugo can do this, for example when I have no _default
layouts defined. Is there a function I can use? I can’t find it anywhere.
Thanks,
Marcin