Фильтры и Циклы
This commit is contained in:
parent
8a2eead4a0
commit
f02a0bac42
3 changed files with 20 additions and 30 deletions
28
index.html
28
index.html
|
|
@ -1,21 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
{% for file in style %}
|
||||
<link type="text/css" rel="stylesheet" href="{{ file }}"/>
|
||||
{% endfor %}
|
||||
</head>
|
||||
<body>
|
||||
{% if content %}
|
||||
{{ content }}
|
||||
{% endif %}
|
||||
|
||||
{% for file in script %}
|
||||
<script type="text/javascript" src="{{ file.name }}"></script>
|
||||
{% endfor %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
<h1>{{ pagename|title }}</h1>
|
||||
<ul>
|
||||
{% for author in authors %}
|
||||
<li{% if loop.first %} class="first"{% endif %}>
|
||||
{{ author }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue