fixing blog post category loop on homepage