Mercurial > genshi > mirror
view examples/bench/django/templates/template.html @ 639:8e11a6693bb3 trunk
Fix for XInclude fallbacks when auto-reloading is enabled. Closes #147. Thanks to rintaro@cpan.org for reporting the issue and providing a patch and test case!
author | cmlenz |
---|---|
date | Mon, 17 Sep 2007 23:11:21 +0000 |
parents | e29a94b3ba0c |
children |
line wrap: on
line source
{% extends "base.html" %} {% load bench %} {% block content %} <head> <title>{{title|escape}}</title> </head> <body> {% block header %}{% endblock %} <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.last %} class="last"{% endif %}>{{ item|escape }}</li> {% endfor %} </ul> {% endif %} {% block footer %}{% endblock %} </body> {% endblock %}