Mercurial > genshi > mirror
annotate examples/bench/django/templates/template.html @ 347:ffa7dea6e8fd experimental-inline
cspeedups branch: Merged [423:426/trunk].
author | cmlenz |
---|---|
date | Fri, 10 Nov 2006 17:38:50 +0000 |
parents | 85f70ec37112 |
children | e29a94b3ba0c |
rev | line source |
---|---|
76 | 1 {% extends "base.html" %} |
2 {% load bench %} | |
3 | |
4 <head> | |
5 <title>${title|escape}</title> | |
6 </head> | |
7 | |
8 {% block body %} | |
9 <div>{% greeting user %}</div> | |
10 <div>{% greeting "me" %}</div> | |
11 <div>{% greeting "world" %}</div> | |
12 | |
13 <h2>Loop</h2> | |
14 {% if items %} | |
15 <ul> | |
16 {% for item in items %} | |
17 <li{% if forloop.islast %} class="last"{% endif %}>{{ item|escape }}</li> | |
18 {% endfor %} | |
19 </ul> | |
20 {% endif %} | |
21 | |
22 {% endblock %} |