Примеры в отдельную папку
This commit is contained in:
parent
0f62ba3a29
commit
313413931b
7 changed files with 6 additions and 6 deletions
9
examples/template3.html
Normal file
9
examples/template3.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{% macro hello(name) %}
|
||||
<em>hello, {{ name }} {{! name }}<em>
|
||||
{% endmacro %}
|
||||
|
||||
<div>
|
||||
{% for name in names %}
|
||||
{{ hello(name) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue