diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-26 09:26:53 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-26 09:26:53 +0200 |
commit | fb732d5322381ee7f3a849258419cef7bbf1487b (patch) | |
tree | 94dfc7b5c1ab18a86cfbecfef1fd56a5dd5f328d /hugolib | |
parent | ad705aac0649fa3102f7639bc4db65d45e108ee2 (diff) |
hugolib: Be a litle more specific in NextPage TODO
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 8e9e0a7ce..1fefd945a 100644 --- 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 } |