diff --git a/hugolib/page.go b/hugolib/page.go index bed2e254e..8479288d7 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -749,7 +749,7 @@ func (p *Page) analyzePage() { func (p *Page) Extension() string { // Remove in Hugo 0.22. - helpers.Deprecated("Page", "Extension", "See OutputFormats with its MediaType", false) + helpers.Deprecated("Page", "Extension", "See OutputFormats with its MediaType", true) return p.extension } @@ -1510,7 +1510,7 @@ func (p *Page) copy() *Page { func (p *Page) Now() time.Time { // Delete in Hugo 0.22 - helpers.Deprecated("Page", "Now", "Use now (the template func)", false) + helpers.Deprecated("Page", "Now", "Use now (the template func)", true) return time.Now() } diff --git a/hugolib/page_paths.go b/hugolib/page_paths.go index f842abdd7..1fe8ea599 100644 --- a/hugolib/page_paths.go +++ b/hugolib/page_paths.go @@ -251,6 +251,6 @@ func (p *Page) createRelativePermalinkForOutputFormat(f output.Format) string { func (p *Page) TargetPath() (outfile string) { // Delete in Hugo 0.22 - helpers.Deprecated("Page", "TargetPath", "This method does not make sanse any more.", false) + helpers.Deprecated("Page", "TargetPath", "This method does not make sanse any more.", true) return "" }