Liquid expressions implement business-logic independent tags that are typically implemented in shopify/liquid. This section contains the specification and examples for all the tags implemented by Liquid.
There’re are dozens of tags supported by Liquid, with all tags described at shopify/liquid. These tags can be categorized into these groups:
Category | Purpose | Tags |
---|---|---|
Iteration | iterate over a collection | for, cycle, tablerow |
Control Flow | control the execution branch of template rendering | if, unless, elsif, else, case, when |
Variable | define and alter variables | assign, increment, decrement |
Language | temporarily disable Liquid syntax | raw, comment |