@@ -663,13 +663,6 @@ func (s *Site) BaseURL() string {
663663 return s .conf .C .BaseURL .WithPath
664664}
665665
666- // Deprecated: Use .Site.Lastmod instead.
667- func (s * Site ) LastChange () time.Time {
668- s .CheckReady ()
669- hugo .Deprecate (".Site.LastChange" , "Use .Site.Lastmod instead." , "v0.123.0" )
670- return s .lastmod
671- }
672-
673666// Returns the last modification date of the content.
674667func (s * Site ) Lastmod () time.Time {
675668 return s .lastmod
@@ -680,26 +673,6 @@ func (s *Site) Params() hmaps.Params {
680673 return s .conf .Params
681674}
682675
683- // Deprecated: Use taxonomies instead.
684- func (s * Site ) Author () map [string ]any {
685- if len (s .conf .Author ) != 0 {
686- hugo .Deprecate (".Site.Author" , "Implement taxonomy 'author' or use .Site.Params.Author instead." , "v0.124.0" )
687- }
688- return s .conf .Author
689- }
690-
691- // Deprecated: Use taxonomies instead.
692- func (s * Site ) Authors () page.AuthorList {
693- hugo .Deprecate (".Site.Authors" , "Implement taxonomy 'authors' or use .Site.Params.Author instead." , "v0.124.0" )
694- return page.AuthorList {}
695- }
696-
697- // Deprecated: Use .Site.Params instead.
698- func (s * Site ) Social () map [string ]string {
699- hugo .Deprecate (".Site.Social" , "Implement taxonomy 'social' or use .Site.Params.Social instead." , "v0.124.0" )
700- return s .conf .Social
701- }
702-
703676func (s * Site ) Param (key any ) (any , error ) {
704677 return resource .Param (s , nil , key )
705678}
@@ -713,12 +686,6 @@ func (s *Site) BuildDrafts() bool {
713686 return s .conf .BuildDrafts
714687}
715688
716- // Deprecated: Use hugo.IsMultilingual instead.
717- func (s * Site ) IsMultiLingual () bool {
718- hugo .Deprecate (".Site.IsMultiLingual" , "Use hugo.IsMultilingual instead." , "v0.124.0" )
719- return s .h .isMultilingual ()
720- }
721-
722689func (s * Site ) LanguagePrefix () string {
723690 prefix := s .GetLanguagePrefix ()
724691 if prefix == "" {
0 commit comments