get at most 10 posts per page