Maybe with a jinja2 filter like regex (I don't know if it is available till) or remove suffix could fix the issue to template in mass
Maybe with a jinja2 filter like regex (I don't know if it is available till) or remove suffix could fix the issue to template in mass