title: Can Bottle's rebase() and include() be made to run from templates in memory?
body: <p>I can get <em>rebase()</em> and <em>include()</em> to work with templates files on disk using <code>rebase("base_template.tpl")</code>, but am not seeing how to get this to run with templates stored in memory.</p>
  
  <p>Here is my current effort:</p>
  
  <pre><code>from bottle import template
  
  base_template = '''\
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;{{title or 'No title'}}&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    {{!base}}
  &lt;/body&gt;
  &lt;/html&gt;
  '''
  
  inner_template = '''\
  % rebase(base_template, title='Page Title')
  &lt;p&gt;Page Content ...&lt;/p&gt;
  '''
  
  print(template(inner_template, base_template=base_template))
  </code></pre>
  
  <p>The above code results in a <em>TemplateError</em>.</p>