-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Per the "Page.URL is deprecated" warnings (related to #4117), I'm wondering if you'd consider including the filename and/or line number that is triggering the warning?
I'm new to Hugo, so please forgive my ignorance here. :) I'm helping a friend with a few small tasks for his Hugo-powered site, and have checked all the .URL
instances I could find by doing a global search in VS Code. All appear to be menu- and navigation-related, not Page
context.
I've tried the various tips in the forum posts that discuss the Page.URL
deprecation, but none have worked. I've also looked through closed Issues and PRs here, in case this has been discussed already, but I didn't find this mentioned.
A few people have asked in the forum about filenames and line numbers, to help with debugging this:
- https://discourse.gohugo.io/t/warn-doesnt-say-what-filename-the-warning-is-from/25111
- https://discourse.gohugo.io/t/detailed-warnings/22107/7
Thanks in advance for considering, and I appreciate your work on Hugo and with its community!