Build the url path, previous and next pages to pass to pagination.
Paginate all the things.