I’m pretty new to Hugo. Today when I built my site I got this message:
Page.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
To fix this I tried to replace
.Params.url in my code but I wasn’t able to find
Page.URL anywhere. Could you please help me what can I do to fix the warning?
Here is the source code of my website.
Thanks for your help in advance!
You also have an invalid JS file.
Finally, several values in your site configuration are ignored because they are listed under
[markup.goldmark.renderer] when they should be in the root table. These all belong in the root table:
enableRobotsTXT = true
googleAnalytics = ""
enableGitInfo = false
pygmentsCodeFences = true
All the issues seems to be fixed. You helped me a lot to improve the quality of my site!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.