Liquid filters

Liquid filters are code in your template that change how a value is displayed. A pipeline (|) separates the (original) value from the filter, as in {{ value | filter_name }}. For example, the code {{ "text" | uppercase }} returns TEXT, {{ entry.title | uppercase }} returns the title of entry in uppercase.

Chameleon supports these filters:

You can also these Rails functions as filters:

  • To do.

Furthermore, the following default Liquid filters are avaliable:

page_revision: 4, last_edited: 1192127925|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.