Liquid tags

Liquid tags are the programming logic that tells templates what to do. Tags are wrapped in: {% %} characters.

Certain tags, such as for and cycle can take on parameters. Details for each parameter can be found in their respective sections.

In this section:

Control flow tags Control flow tags create conditions that decide whether blocks of Liquid code get executed.

  • Iteration tags Iteration tags run blocks of code repeatedly.
  • Theme tags Theme tags output HTML markup specific to your template, define theme layouts and snippets, and break up returned arrays into more than one page.
  • Variable tags Use variable tags to create new Liquid variables.