Separate jinja filter functions