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 {
511
511
// Deprecated: Use taxonomies instead.
512
512
func (s * Site ) Author () map [string ]any {
513
513
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" )
515
515
}
516
516
return s .conf .Author
517
517
}
518
518
519
519
// Deprecated: Use taxonomies instead.
520
520
func (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" )
522
522
return page.AuthorList {}
523
523
}
524
524
525
525
// Deprecated: Use .Site.Params instead.
526
526
func (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" )
528
528
return s .conf .Social
529
529
}
530
530
You can’t perform that action at this time.
0 commit comments