Mercurial > genshi > mirror
view examples/bench/myghty/template.myt @ 406:01be13831f5e trunk
Reenable AST transformer dispatch cache.
author | cmlenz |
---|---|
date | Wed, 21 Feb 2007 12:59:23 +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> % </&>