| 1 |
{% extends "base.html" %} |
| 2 |
{% load bench %} |
| 3 |
|
| 4 |
{% block content %} |
| 5 |
<head> |
| 6 |
<title>{{title|escape}}</title> |
| 7 |
</head> |
| 8 |
|
| 9 |
<body> |
| 10 |
{% block header %}{% endblock %} |
| 11 |
|
| 12 |
<div>{% greeting user %}</div> |
| 13 |
<div>{% greeting "me" %}</div> |
| 14 |
<div>{% greeting "world" %}</div> |
| 15 |
|
| 16 |
<h2>Loop</h2> |
| 17 |
{% if items %} |
| 18 |
<ul> |
| 19 |
{% for item in items %} |
| 20 |
<li{% if forloop.last %} class="last"{% endif %}>{{ item|escape }}</li> |
| 21 |
{% endfor %} |
| 22 |
</ul> |
| 23 |
{% endif %} |
| 24 |
|
| 25 |
{% block footer %}{% endblock %} |
| 26 |
</body> |
| 27 |
{% endblock %} |