diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-08 18:02:36 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-08 18:02:36 +0200 |
commit | c9731b2c2a4ac68d9f895e7513c014744629e406 (patch) | |
tree | a169fefa0bab79b71cc855a07dafe36e45ad51d0 /hugolib | |
parent | 9ebbf1b054d0e56d708a20bc64f3539440bd5f8a (diff) |
hugolib: Delay deletion of Page.Now()
Looking at the state of the themes, it will be too painful to log ERROR now.
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/page.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index 259b2fb92..677343f1f 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -1506,8 +1506,8 @@ func (p *Page) copy() *Page { } func (p *Page) Now() time.Time { - // Delete in Hugo 0.21 - helpers.Deprecated("Page", "Now", "Use now (the template func)", true) + // Delete in Hugo 0.22 + helpers.Deprecated("Page", "Now", "Use now (the template func)", false) return time.Now() } |