1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Files
gohugoio-hugo/hugolib
Ricardo N Feliciano ad705aac06 hugolib: Introduce Page.NextPage and Page.PrevPage
Introduce new page position variables in order to fix the ordering issue
of `.Next` and `.Prev` while also allowing an upgrade path via
deprecation.

`.NextInSection` becomes `.NextPageInSection`.
`.PrevInSection` becomes `.PrevPageInSection`.

`.Next` becomes a function returning `.PrevPage`.
`.Prev` becomes a function returning `.NextPage`.

Fixes #1061
2018-09-26 09:22:43 +02:00
..
2018-08-30 22:31:29 +02:00
2018-03-18 09:54:32 +01:00
2018-08-07 09:42:49 +02:00
2018-09-21 14:30:57 +02:00
2018-08-09 20:58:31 +02:00
2018-09-23 19:27:23 +02:00
2018-09-23 19:27:23 +02:00
2018-01-25 17:14:03 +01:00
2018-09-21 14:23:00 +02:00
2018-08-30 22:31:29 +02:00
2018-09-21 14:23:00 +02:00
2018-09-21 14:23:00 +02:00
2018-03-12 22:13:25 +01:00
2018-03-18 09:54:32 +01:00
2018-09-21 14:30:57 +02:00
2018-09-21 14:23:00 +02:00
2018-07-20 07:02:41 +02:00
2018-07-18 00:07:20 +02:00