fixed sorting of blog posts; made it so 'is_published' must be True for posts to be displayed