creating a proper view for blog posts