Text this: Leptogenesis with perturbations in type-II and type-III seesaw models