Convert some text to a URL safe string. Use the following flags for different results - "pretty", "ascii", "latin".
#liquid#filter
{{"It works 100%, even with an 'ó' character!"|slugify}}
it-works-100-even-with-an-ó-character
{{"It works 100%, even with an 'ó' character!"|slugify:"pretty"}}
it-works-100-,-even-with-an-'ó'-character!
{{"It works 100%, even with an 'ó' character!"|slugify:"ascii"}}
it-works-100-even-with-an-character
{{"It works 100%, even with an 'ó' character!"|slugify:"latin"}}
it-works-100-even-with-an-o-character
Trim string to the number of characters specified. By default the truncated string will end with ellipsis (...) however you can replace it by passing your ending as the second parameter.
#liquid#string#filter
{{"Some string to be truncated"|truncate:9}}
String...
{{"Some string to be truncated"|truncate:9,"...trimmed"}}
String...trimmed