Tags

Table of contents

With Tags you can use some programming logic inside Liquid. E.g. to show content only under certain conditions, you’d use the if tag.

{% if site.name == "A beautiful site" %}
  This is indeed one beautiful site!
{% endif %}
Input
# This is only shown if the site's title equals 'A beautiful site'
This is indeed one beautiful site!
Output

Need help?

Do you have any question which is not answered in this knowledge base? Contact us. We are here to help you.