finish viewBlogPosts portion