{{ variable_name }} |
Prints the value of variable_name |
{% assign variable_name = value %} |
Assign the value value to variable_name |
{{ variable_name | plus: value }} |
Print the value of variable_name increased by value. Does not update the value of variable_name |
{% assign variable_name = variable_name | plus: value %} |
Increment the value of variable_name by value. |
{% increment variable_name %} |
Increment variable variable_name by 1. If variable is new, value is 0. !! Separate variable scope to {% assign %} tags !! |