add and link postDetail view