askama/testing/templates/let-decl.html
2017-08-16 12:51:11 +02:00

8 lines
111 B
HTML

{% let val -%}
{% if cond -%}
{% let val = "foo" -%}
{% else -%}
{% let val = s -%}
{% endif -%}
{{ val }}