Fix edit link and add home links