Open deining opened 5 months ago
I get the same INFO message: deprecated: .Site.Author was deprecated in Hugo v0.124.0 ...
. Even though I don't use it in any of my templates. Additionally, I only have two places where I use .Params.Author
.
It's just an INFO, so I can ignore it, but it's confusing still. Glad they will fix it.
I just built my site with newly released version 0.124.0 and got this deprecation warning (my site theme used
Site.Author
in the themeslist.rss.xml
template):Only after reading this comment, I realized that the solution to fix this in the theme was to use
.Site.Params.Author
. Therefore I propose to alter this message to:Or am I overlooking something? Then we should at least add to use
.Site.Params.Author
as solution:Reference: https://discourse.gohugo.io/t/deprecation-warning-for-site-author-confusing-replacement-advice/48874