Mercurial > genshi > genshi-test
view examples/bench/myghty/base.myt @ 357:c5684b65c9b7
Improve the way locals (in list comprehensions, lambdas and generator expressions) are handled in template expressions.
author | cmlenz |
---|---|
date | Thu, 16 Nov 2006 16:18:21 +0000 |
parents | 1f4e66680f9f |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <%method wrap> <%args scope="request"> title </%args> <div id="header"> <h1><% title %></h1> </div> <% m.content() %> </%method> <div id="footer"></div> </html> <%method greeting> <%args> name </%args> Hello, <% name | h %> </%method>