Implemented pagination on the blog page