Delete everything except the template