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.

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

Input

Output

Hello Adam!

In this section

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.

Got an issue? Or want to submit feedback?
Submit your feedback

Our new Feedback and Issue Tracker is built on GitHub Issues. Just leave your comment below and you can track our team resolve it, or browse issues others have already submitted.

Read how to use the Feedback and Issue Tracker