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:
- tag_list, to format the tags of an entry as a (comma or space-separated) list.
- star_rating, to display the rating of an entry with stars.
- list_pages, to display a list of pages in an archive.
- url_for_entry, which returns the URL to an entry.
- url_for_editing_entry, which returns the URL to edit an entry in the Admin Panel.
- url_for_comment, which returns the URL to a comment.
- url_for_tag_archive, which returns the URL to a tag archive.
- url_for_monthly_archive, which returns the URL to a monthly archive.
- url_for_editing_user, which returns the URL to edit a user in the Admin Panel.
- url_for_log_out, which returns the URL to the log out page.
- url_for_image, which returns the URL to an image.
- url_for_stylesheet, which returns the URL to a stylesheet.
- url_for_javascript, which returns the URL to a JavaScript file.
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)





