Added pagination.

- We now have working pagination on the posts list page.