View Source Liquex.Tag.IfTag (liquex v0.13.0)

Executes a block of code only if a certain condition is true.

Input

{% if product.title == "Awesome Shoes" %}
  These shoes are awesome!
{% endif %}

Output

These shoes are awesome!

Summary

Functions