1
0
Fork 0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-11-14 00:42:44 +00:00
cloudkeys-go/vendor/github.com/flosch/pongo2/template_tests/set.tpl
Knut Ahlers 99ff9846a3
Update vendoring using dep
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-29 23:13:47 +01:00

6 lines
No EOL
280 B
Smarty

{% set new_var = "hello" %}{{ new_var }}
{% block content %}{% set new_var = "world" %}{{ new_var }}{% endblock %}
{{ new_var }}{% for item in simple.misc_list %}
{% set new_var = item %}{{ new_var }}{% endfor %}
{{ new_var }}
{% set car=someUndefinedVar %}{{ car.Drive }}No Panic