summaryrefslogtreecommitdiffstats
path: root/hugolib/page.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-25 09:58:55 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-25 10:22:11 +0100
commitd418c2c2eacdc1dc6fffe839e0a90600867878ca (patch)
tree11aef5526f07824d4d1d498e9d79d21d0ef84542 /hugolib/page.go
parentb2fcbb1f9774aa1e929b8575c0e1ac366ab2fb73 (diff)
Remove and update deprecation status
Diffstat (limited to 'hugolib/page.go')
-rw-r--r--hugolib/page.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/hugolib/page.go b/hugolib/page.go
index 4df681661..b4ec96565 100644
--- a/hugolib/page.go
+++ b/hugolib/page.go
@@ -881,12 +881,6 @@ func (p *Page) analyzePage() {
})
}
-func (p *Page) Extension() string {
- // Remove in Hugo 0.22.
- helpers.Deprecated("Page", "Extension", "See OutputFormats with its MediaType", true)
- return p.extension
-}
-
// HasShortcode return whether the page has a shortcode with the given name.
// This method is mainly motivated with the Hugo Docs site's need for a list
// of pages with the `todo` shortcode in it.
@@ -1849,12 +1843,6 @@ func (p *Page) copy() *Page {
return &c
}
-func (p *Page) Now() time.Time {
- // Delete in Hugo 0.22
- helpers.Deprecated("Page", "Now", "Use now (the template func)", true)
- return time.Now()
-}
-
func (p *Page) Hugo() *HugoInfo {
return hugoInfo
}