hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit fb732d5322381ee7f3a849258419cef7bbf1487b
parent ad705aac0649fa3102f7639bc4db65d45e108ee2
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 26 Sep 2018 09:26:53 +0200

hugolib: Be a litle more specific in NextPage TODO

Diffstat:
Mhugolib/page.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hugolib/page.go b/hugolib/page.go
@@ -2310,13 +2310,13 @@ func (p *Page) pathOrTitle() string {
 }
 
 func (p *Page) Next() *Page {
-	// TODO Remove in Hugo 0.52
+	// TODO Remove the deprecation notice (but keep PrevPage as an alias) Hugo 0.52
 	helpers.Deprecated("Page", ".Next", "Use .PrevPage (yes, not .NextPage).", false)
 	return p.PrevPage
 }
 
 func (p *Page) Prev() *Page {
-	// TODO Remove in Hugo 0.52
+	// TODO Remove the deprecation notice (but keep NextPage as an alias) Hugo 0.52
 	helpers.Deprecated("Page", ".Prev", "Use .NextPage (yes, not .PrevPage).", false)
 	return p.NextPage
 }