Mercurial > genshi > genshi-test
comparison examples/bench/django/templates/template.html @ 76:37f128d2d7f4
Add Django to the benchmark.
author | cmlenz |
---|---|
date | Thu, 13 Jul 2006 09:17:21 +0000 |
parents | |
children | 8dd0d34a9fb7 |
comparison
equal
deleted
inserted
replaced
75:c3c26300a46d | 76:37f128d2d7f4 |
---|---|
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 %} |