View Source Liquex.Tag.AssignTag (liquex v0.13.1)
Creates a new named variable.
Input
{% assign my_variable = false %}
{% if my_variable != true %}
This statement is valid.
{% endif %}
Output
This statement is valid.
Wrap a value in quotations " to save it as a string variable.
Input
{% assign foo = "bar" %}
{{ foo }}
Output
bar
Summary
Functions
Callback implementation for Liquex.Tag.parse/0
.
Callback implementation for Liquex.Tag.parse_liquid_tag/0
.
Callback implementation for Liquex.Tag.render/2
.
Functions
Callback implementation for Liquex.Tag.parse/0
.
Callback implementation for Liquex.Tag.parse_liquid_tag/0
.
Callback implementation for Liquex.Tag.render/2
.