Is there any way to bring hugo to more informative warning messages? I have a website that I did not update/build since around 0.48 and now I receive warnings like the following:
WARN 2019/05/12 08:34:06 Page's .URL is deprecated and will be removed in a future release.
Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url.
I get what the message is telling me, but searching for .URL brings 4 occurences out versus 2 warn messages with that content. I would hope for some sort of “WARN filename/path date” construct at least, at best something with a traceroute.
--debug
and --verbose
both do not help. they just give more info about other things.
I don’t understand enough of Go to look through the code and understand where the warnings are created.