From 33d733300a4f0b765234706e51bb7e077fdc2471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 25 Nov 2019 20:04:49 +0100 Subject: Deprecate mmark Fixes #6486 --- hugolib/site.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hugolib/site.go') diff --git a/hugolib/site.go b/hugolib/site.go index de41b8fc3..237a1ba8f 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -572,7 +572,7 @@ func (s *SiteInfo) AllRegularPages() page.Pages { func (s *SiteInfo) Permalinks() map[string]string { // Remove in 0.57 - helpers.Deprecated("Site", ".Permalinks", "", false) + helpers.Deprecated(".Site.Permalinks", "", false) return s.permalinks } @@ -794,7 +794,7 @@ func (s *siteRefLinker) refLink(ref string, source interface{}, relative bool, o // 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) + helpers.Deprecated(".Site.Ref", "Use .Site.GetPage", true) outputFormat := "" if len(options) > 0 { outputFormat = options[0] @@ -806,7 +806,7 @@ func (s *SiteInfo) Ref(ref string, page page.Page, options ...string) (string, e // 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) + helpers.Deprecated(".Site.RelRef", "Use .Site.GetPage", true) outputFormat := "" if len(options) > 0 { outputFormat = options[0] -- cgit v1.2.3