changed index and category to 10 posts per page