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
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
1 {% extends "base.html" %}
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
2 {% load bench %}
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
3
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
4 <head>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
5 <title>${title|escape}</title>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
6 </head>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
7
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
8 {% block body %}
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
9 <div>{% greeting user %}</div>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
10 <div>{% greeting "me" %}</div>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
11 <div>{% greeting "world" %}</div>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
12
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
13 <h2>Loop</h2>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
14 {% if items %}
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
15 <ul>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
16 {% for item in items %}
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
17 <li{% if forloop.islast %} class="last"{% endif %}>{{ item|escape }}</li>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
18 {% endfor %}
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
19 </ul>
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
20 {% endif %}
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
21
85f70ec37112 Add Django to the benchmark.
cmlenz
parents:
diff changeset
22 {% endblock %}
Copyright (C) 2012-2017 Edgewall Software