File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -511,20 +511,20 @@ func (s *Site) Params() maps.Params {
511511// Deprecated: Use taxonomies instead.
512512func (s * Site ) Author () map [string ]any {
513513 if len (s .conf .Author ) != 0 {
514- hugo .Deprecate (".Site.Author" , "Use taxonomies instead." , "v0.124.0" )
514+ hugo .Deprecate (".Site.Author" , "Implement taxonomy 'author' or use .Site.Params.Author instead." , "v0.124.0" )
515515 }
516516 return s .conf .Author
517517}
518518
519519// Deprecated: Use taxonomies instead.
520520func (s * Site ) Authors () page.AuthorList {
521- hugo .Deprecate (".Site.Authors" , "Use taxonomies instead." , "v0.124.0" )
521+ hugo .Deprecate (".Site.Authors" , "Implement taxonomy 'authors' or use .Site.Params.Author instead." , "v0.124.0" )
522522 return page.AuthorList {}
523523}
524524
525525// Deprecated: Use .Site.Params instead.
526526func (s * Site ) Social () map [string ]string {
527- hugo .Deprecate (".Site.Social" , "Use .Site.Params instead." , "v0.124.0" )
527+ hugo .Deprecate (".Site.Social" , "Implement taxonomy 'social' or use .Site.Params.Social instead." , "v0.124.0" )
528528 return s .conf .Social
529529}
530530
You can’t perform that action at this time.
0 commit comments