title: How does rebase statement work in Bottle SimpleTemplate engine?
body: <p>I think I don't understand the rebase() function of bottle.
  What's the best way to load dynamically a content template into a base template?
  The below shown code is not working.</p>
  
  <p>app.py</p>
  
  <pre><code>@route("/home")
  def home():
      return  template('home.tpl')
  
  @route("/contact")
  def contact():
      return  template('contact.tpl')
  </code></pre>
  
  <p>base.tpl</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
   &lt;html&gt;
   &lt;head&gt;
      &lt;title&gt;Titel&lt;/title&gt;
      &lt;meta charset="UTF-8" /&gt;
      &lt;link href="/static/css/style.css" type="text/css" rel="stylesheet" /&gt;
   &lt;/head&gt;
   &lt;body&gt;
      {{base}}
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>home.tpl</p>
  
  <pre><code>% rebase('base.tpl')
  &lt;b&gt;Hallo World...&lt;/b&gt;
  </code></pre>