Added delete post functionality to post permalink