Make links relative where applicable