Mercurial > genshi > mirror
annotate examples/bench/django/templates/template.html @ 358:42158113edce experimental-inline
inline branch: Merged [437].
author | cmlenz |
---|---|
date | Thu, 16 Nov 2006 16:22:14 +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 %} |