mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +00:00
1 parent
695be00c07
commit
6e0f326b9d
1 file changed
+2
@@ -1579,6 +1579,8 @@ func (p *Page) copy() *Page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *Page) Now() time.Time {
|
func (p *Page) Now() time.Time {
|
||||||
|
// Delete in Hugo 0.21
|
||||||
|
helpers.Deprecated("Page", "Now", "now (the template func)", false)
|
||||||
return time.Now()
|
return time.Now()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user