jinja truncate string code example
Example: jinja2 truncate string
{{ title|truncate(1000, True, '...') }}
<!-- with length=1000(default=255), killwords=True(default=False), end='...' -->
{{ title|truncate(1000, True, '...') }}
<!-- with length=1000(default=255), killwords=True(default=False), end='...' -->