diff options
Diffstat (limited to 'hugolib/site_new.go')
-rw-r--r-- | hugolib/site_new.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hugolib/site_new.go b/hugolib/site_new.go index 21d5ace96..97b46e358 100644 --- a/hugolib/site_new.go +++ b/hugolib/site_new.go @@ -447,15 +447,21 @@ func (s *Site) Params() maps.Params { return s.conf.Params } +// Deprecated: Use taxonomies instead. func (s *Site) Author() map[string]any { + hugo.Deprecate(".Site.Author", "Use taxonomies instead.", "v0.124.0") return s.conf.Author } +// Deprecated: Use taxonomies instead. func (s *Site) Authors() page.AuthorList { + hugo.Deprecate(".Site.Authors", "Use taxonomies instead.", "v0.124.0") return page.AuthorList{} } +// Deprecated: Use .Site.Params instead. func (s *Site) Social() map[string]string { + hugo.Deprecate(".Site.Social", "Use .Site.Params instead.", "v0.124.0") return s.conf.Social } |