added pagination to list of pages using a given content type