<?py ## '_context["_layout"]' is equivarent to '{% extends "foobar.html" %}' ?>
<?py ## in Django template engine. ?>
<?py _context['_layout'] = 'ex11-baselayout.pyhtml' ?>

<?py ## you can override header or footer by capturing. ?>
<?py start_capture('footer_part') ?>
<address style="text-align:right">
  copyright&copy; 2007 kuwata-lab all rights reserved<br />
  <a href="webmaster&#64;kuwata-lab.com">webmaster&#64;kuwata-lab.com</a>
</address>
<?py stop_capture() ?>
