You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 themes list.rss.xml template):
INFO deprecated: .Site.Author was deprecated in Hugo v0.124.0
and will be removed in a future release.
Use taxonomies instead.
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:
Use .Site.Params.Author instead.
Or am I overlooking something? Then we should at least add to use .Site.Params.Author as solution:
Implement taxonomy 'author' or use .Site.Params.Author instead.
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
The text was updated successfully, but these errors were encountered: