Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

Input:

{% if site.name == "A beautiful site" %}
  This is indeed one beautiful site!
{% endif %}

Output:

# This is only shown if the site's title equals 'A beautiful site'
This is indeed one beautiful site!

See the type of tags you can use in the list below:

  • No labels