Module liquid::filters [−][src]
Functions
abs |
Returns the absolute value of a number. |
append | |
capitalize | |
ceil | |
compact |
Remove nulls from an iterable. For hashes, you can specify which property you want to filter out if it maps to Null. |
concat | |
date | |
date_in_tz | |
default | |
divided_by | |
downcase | |
escape | |
escape_once | |
first | |
floor | |
join | |
last | |
lstrip |
Removes all whitespaces (tabs, spaces, and newlines) from the beginning of a string. |
map |
Extract |
minus | |
modulo | |
newline_to_br |
Replaces every newline ( |
pluralize | |
plus | |
prepend | |
remove | |
remove_first | |
replace | |
replace_first | |
reverse |
Reverses the order of the items in an array. |
round | |
rstrip |
Removes all whitespace (tabs, spaces, and newlines) from the right side of a string. |
size | |
slice | |
sort | |
sort_natural | |
split | |
strip |
Removes all whitespace (tabs, spaces, and newlines) from both the left and right side of a string. |
strip_html | |
strip_newlines |
Removes any newline characters (line breaks) from a string. |
times | |
truncate |
|
truncatewords | |
uniq |
Removes any duplicate elements in an array. |
upcase | |
url_decode | |
url_encode |