Mercurial > genshi > genshi-test
view examples/bench/django/templates/template.html @ 623:9c89e22516b4
GenshiTutorial: Minor updates to Atom feed templates.
author | cmlenz |
---|---|
date | Thu, 30 Aug 2007 23:01:49 +0000 |
parents | 8dd0d34a9fb7 |
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 %}