You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we fetch a list of posts, we are now able to do this with full pagination support. However the pagination information isn't used at the moment.
We need to introduce a new core helper to take pagination information and output a basic version of pagination navigation. For now the markup and functionality of this should match john.onolan.org:
On the first page an "older posts" button points to the next page
On subsequent pages, there is both "older posts" and "newer posts" buttons and "page x of y" info
On the final page there is only a "newer posts" button
- adds routes for homepage pagination
- adds helper function to compile template file for pagination
- adds next and prev to post for next and previous page
- adds handlebars template for pagination
- adds routes for homepage pagination
- adds helper function to compile template file for pagination
- adds next and prev to post for next and previous page
- adds handlebars template for pagination
When we fetch a list of posts, we are now able to do this with full pagination support. However the pagination information isn't used at the moment.
We need to introduce a new core helper to take pagination information and output a basic version of pagination navigation. For now the markup and functionality of this should match john.onolan.org:
This story will also require #197 and TryGhost/Casper#13 in order to be fully working
The text was updated successfully, but these errors were encountered: