Filters
Reference documentation for the Liquid filters available in Easol themes.
Filters modify the output of Liquid objects and variables.
Filters are used within output tags ({{ }}) or when assigning variables, and are separated by the pipe (|) character.
Multiple filters can be chained together and are applied from left to right.
For example:
{{ "book" | capitalize | append: "Yoga " }}renders:
Book YogaEasol filters
The following filters are provided by Easol in addition to the standard Liquid filters.
- apply_promotion
- default_pagination
- extract_money_decimal
- group_by
- group_by_expression
- money
- parameterize
- pluralize
- to_sentence
Standard Liquid filters
Easol also supports the standard filters provided by Liquid, including:
absappendat_leastat_mostcapitalizeceilcompactconcatdatedefaultdivided_bydowncaseescapeescape_oncefirstfloorjoinlastlstripmapminusmodulonewline_to_brplusprependremoveremove_firstremove_lastreplacereplace_firstreplace_lastreverseroundrstripsizeslicesortsort_naturalsplitstripstrip_htmlstrip_newlinessumtimestruncatetruncatewordsuniqupcaseurl_decodeurl_encodewhere
For complete documentation on the standard Liquid filters, see the official Liquid filter reference.