Example#
{{ content | truncate(30) }}truncate takes a positive number and appends ... when the value is trimmed.
Modifiers
The truncate modifier trims text to a number of words.
{{ content | truncate(30) }}truncate takes a positive number and appends ... when the value is trimmed.