hugolib: Remove .Site.Ref/RelRef - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 69fd1c60d8bcf6d1cea4bfea852f62df8891ee81
 (DIR) parent 33d733300a4f0b765234706e51bb7e077fdc2471
 (HTM) Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Mon, 25 Nov 2019 20:17:59 +0100
       
       hugolib: Remove .Site.Ref/RelRef
       
       Diffstat:
         M hugolib/site.go                     |      24 ------------------------
       
       1 file changed, 0 insertions(+), 24 deletions(-)
       ---
 (DIR) diff --git a/hugolib/site.go b/hugolib/site.go
       @@ -791,30 +791,6 @@ func (s *siteRefLinker) refLink(ref string, source interface{}, relative bool, o
                return link, nil
        }
        
       -// Ref will give an absolute URL to ref in the given Page.
       -func (s *SiteInfo) Ref(ref string, page page.Page, options ...string) (string, error) {
       -        // Remove in Hugo 0.54
       -        helpers.Deprecated(".Site.Ref", "Use .Site.GetPage", true)
       -        outputFormat := ""
       -        if len(options) > 0 {
       -                outputFormat = options[0]
       -        }
       -
       -        return s.s.refLink(ref, page, false, outputFormat)
       -}
       -
       -// RelRef will give an relative URL to ref in the given Page.
       -func (s *SiteInfo) RelRef(ref string, page page.Page, options ...string) (string, error) {
       -        // Remove in Hugo 0.54
       -        helpers.Deprecated(".Site.RelRef", "Use .Site.GetPage", true)
       -        outputFormat := ""
       -        if len(options) > 0 {
       -                outputFormat = options[0]
       -        }
       -
       -        return s.s.refLink(ref, page, true, outputFormat)
       -}
       -
        func (s *Site) running() bool {
                return s.h != nil && s.h.running
        }