assign
Creates a new named variable.
Example:
liquid
{% assign my_variable = false %}
{% if my_variable != true %}
This statement is valid.
{% endif %}
1
2
3
4
2
3
4
Output
html
This statement is valid.
1