Mercurial > genshi > genshi-test
view examples/bench/genshi/base.html @ 602:509b3a5e765e
Add runtime optimization hints for match templates.
author | cmlenz |
---|---|
date | Thu, 23 Aug 2007 11:35:43 +0000 |
parents | 24757b771651 |
children |
line wrap: on
line source
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" py:strip=""> <p py:def="greeting(name)"> Hello, ${name}! </p> <py:match path="body" once="true"><body> <div id="header"> <h1>${title}</h1> </div> ${select('*')} <div id="footer" /> </body></py:match> </html>