mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
695be00c07
commit
6e0f326b9d
1 changed files with 2 additions and 0 deletions
|
@ -1579,6 +1579,8 @@ func (p *Page) copy() *Page {
|
|||
}
|
||||
|
||||
func (p *Page) Now() time.Time {
|
||||
// Delete in Hugo 0.21
|
||||
helpers.Deprecated("Page", "Now", "now (the template func)", false)
|
||||
return time.Now()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue