URI: 
       hugolib: Remove Site.HomeAbsURL - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 558f74f009d5bafd680958e511dc40f20dd0259a
   DIR parent ba03114aa9696095e6634776b0dd021bffe815a0
  HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Sat, 16 Mar 2024 12:08:30 +0100
       
       hugolib: Remove Site.HomeAbsURL
       
       It's not in use and after #12266 it's also not corret to use on its own (use .Site.Home.Permalink).
       
       Diffstat:
         M hugolib/site.go                     |      11 +++--------
       
       1 file changed, 3 insertions(+), 8 deletions(-)
       ---
   DIR diff --git a/hugolib/site.go b/hugolib/site.go
       @@ -598,18 +598,13 @@ func (h *HugoSites) fileEventsContentPaths(p []pathChange) []pathChange {
                return keepers
        }
        
       -// HomeAbsURL is a convenience method giving the absolute URL to the home page.
       -func (s *Site) HomeAbsURL() string {
       +// SitemapAbsURL is a convenience method giving the absolute URL to the sitemap.
       +func (s *Site) SitemapAbsURL() string {
                base := ""
                if len(s.conf.Languages) > 1 || s.Conf.DefaultContentLanguageInSubdir() {
                        base = s.Language().Lang
                }
       -        return s.AbsURL(base, false)
       -}
       -
       -// SitemapAbsURL is a convenience method giving the absolute URL to the sitemap.
       -func (s *Site) SitemapAbsURL() string {
       -        p := s.HomeAbsURL()
       +        p := s.AbsURL(base, false)
                if !strings.HasSuffix(p, "/") {
                        p += "/"
                }