1 2 3 4 5 6 7
{% let val -%} {% if cond -%} {% let val = "foo" -%} {% else -%} {% let val = s -%} {% endif -%} {{ val }}