Including / nesting templates
<br />If you want to nest one template within another, you nest the render() calls, and then include the variable (unfiltered) in the page. In your handler:
<br />print render.foo(render.bar())
or (to make things a little more clear):
<br />barhtml = render.bar()
print render.foo(barhtml)
Then in the template foo.html:
<br />$def with (bar)
html goes here
$:bar
more html