class
Marten::Template::Filter::Truncate
Overview
The truncate filter.
The truncate filter truncates a string to the given number of characters. Truncated strings end with an
ellipsis ("...") that is accounted for in the resulting size. A filter argument corresponding to the maximum
size is mandatory.
{{ value|truncate:15 }}