Mercurial > genshi > mirror
view examples/bench/myghty/template.myt @ 929:d010a80ebb4f trunk
Merge r1137 from py3k: add 2to3 build infrastructure to setup.py (this pulls the tests into the source distribution so that tests can be run after building with 2to3)
author | hodgestar |
---|---|
date | Fri, 18 Mar 2011 09:02:22 +0000 |
parents | 2295fb564250 |
children |
line wrap: on
line source
<%args> title items user </%args> <head> <title><% title %></title> </head> <&|base.myt:wrap &> <div><& base.myt:greeting, name=user &></div> <div><& base.myt:greeting, name="me"&></div> <div><& base.myt:greeting, name="world" &></div> <h2>Loop</h2> %if items: <ul> % for item in items: <li><% item %></li> % </ul> % </&>