Fix edit link for posts