Примеры в отдельную папку

This commit is contained in:
Федор Подлеснов 2015-12-11 12:14:30 +03:00
parent 0f62ba3a29
commit 313413931b
7 changed files with 6 additions and 6 deletions

18
examples/tempalte.html Normal file
View file

@ -0,0 +1,18 @@
<h1>{{ pagename|title }}</h1>
<ul>
{% for author in authors %}
<li {% if loop.first %}class="first"{% endif %}{% if loop.last %}class="last"{% endif %}>
<div class="name">{{ author.name }}</div>
<div class="age">{{ author.age }}</div>
</li>
{% endfor %}
{% for key, value in city %}
<li>
<div class="value">{{ value }}</div>
<div class="key">{{ key }}</div>
</li>
{% endfor %}
</ul>