Added the single post details view logic and html markup