added archive template and improved edit link location