aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bench/django/templates/template.html
blob: 44363f86ca0d613a5deb5a8d0d8b20d0ba77cbd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "base.html" %}
{% load bench %}

<head>
  <title>${title|escape}</title>
</head>

{% block body %}
  <div>{% greeting user %}</div>
  <div>{% greeting "me" %}</div>
  <div>{% greeting "world" %}</div>

  <h2>Loop</h2>
  {% if items %}
    <ul>
      {% for item in items %}
        <li>{{ item }}</li>
      {% endfor %}
    </ul>
  {% endif %}

{% endblock %}