Add pagination to post index views