assign

Assigns some value to a variable

Input
  • {% assign foo = 'Hello world' %}
    {{ foo }}
Output
  • Hello world