Adding pagination to single pages