Mercurial > genshi > genshi-test
view examples/bench/simpletal/base.html @ 351:50f4e199e3aa
The `py:content`, `py:replace`, and `py:strip=""` directives are now expanded when the template is loaded (as opposed to when it's rendered).
author | cmlenz |
---|---|
date | Fri, 10 Nov 2006 23:32:24 +0000 |
parents | 16571c57907b |
children |
line wrap: on
line source
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <p metal:define-macro="greeting"> Hello, <span metal:define-slot="name">name</span> </p> <body metal:define-macro="content"> <div id="header"> <h1 tal:content="title" /> </div> <div metal:define-slot="content" tal:omit-tag="" /> <div id="footer"></div> </body> </html>