Mercurial > genshi > mirror
view 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 |
line wrap: on
line source
{% 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{% if forloop.islast %} class="last"{% endif %}>{{ item|escape }}</li> {% endfor %} </ul> {% endif %} {% endblock %}