change the post detail view implementation