Added post_detail functionality to home page.