Mercurial > genshi > genshi-test
view examples/bench/markup/base.html @ 81:cc034182061e
Template expressions are now compiled to Python bytecode.
author | cmlenz |
---|---|
date | Sat, 15 Jul 2006 11:29:25 +0000 |
parents | e9a3930f8823 |
children |
line wrap: on
line source
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://markup.edgewall.org/" py:strip=""> <p py:def="greeting(name)"> Hello, ${name}! </p> <body py:match="body"> <div id="header"> <h1>${title}</h1> </div> ${select('*')} <div id="footer" /> </body> </html>