<html>
  <body>
    <div id="header-part">
<?py if not captured_as('header'): ?>
      <h1>My Great Blog</h1>
<?py #endif ?>
    </div>
    <div id="main-content">
#{_content}
    </div>
    <div id="sidebar-part">
<?py if not captured_as('sidebar'): ?>
      <h3>Links</h3>
      <ul>
        <a href="http://google.com/">Google</a>
        <a href="http://yahoo.com/">Yahoo!</a>
      </ul>
<?py #endif ?>
    </div>
  </body>
</html>
