Примеры в отдельную папку
This commit is contained in:
parent
0f62ba3a29
commit
313413931b
7 changed files with 6 additions and 6 deletions
18
examples/tempalte.html
Normal file
18
examples/tempalte.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue