[finishes #57870522] - add pagination to posts