Liquid blocks

Liquid blocks are code in your template that surround a part of your code, and can modify this code, or even not display it at all. They have a start and an end tag, in the form {% foo %} and {% endfoo %}. For example, any (HTML and Liquid) code between {% if entry.get_comment_count > 0 %} and {% endif %} will only get displayed if entry has at least one comment.

Chameleon supports these blocks:

  • commentform, to display the comment form on an entry's page.

Furthermore, the following default Liquid blocks are available:

page_revision: 2, last_edited: 1190834048|%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.