jinja display part of string code example Example: jinja2 truncate string {{ title|truncate(1000, True, '...') }}