Tags

LiquidJS implements business-logic independent tags that are typically implemented in shopify/liquid. This section contains the specification and demoes for all the tags implemented by LiquidJS.

There’re a dozen of tags supported by LiquidJS, with all tags in 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
File include another template or extend a layout template render, include, layout
Language temporarily disable LiquidJS syntax raw, comment