Tags

Tags create the logic and control flow for templates. They are denoted by curly braces and percent signs: {% and %}.

The markup used in tags does not produce any visible text. This means that you can assign variables and create conditions and loops without showing any of the Liquid logic on the page.

Input

Output

Hello Adam!

Tags can be broadly categorized into three types:

There are also more general tags, such as include, raw and comment documented in this section.

You can read more about each type of tag in their respective articles.

Last updated: Sun 01 Oct, 2017