title: Is it possible to load jinja2 templates without having variables replaced?
body: <p>Suppose we have the following structure</p>
  
  <p><strong>templates/modal.html</strong></p>
  
  <pre><code>&lt;div class="title"&gt;
     {% block title %}
     {% endblock %}
  &lt;/div&gt;
  &lt;div class="content"&gt;
     {% block content %}
     {% endblock %}
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>templates/usermodal.html</strong></p>
  
  <pre><code>{% extends "modal.html" %}
  {% block title %}
       Hello {{ user }}
  {% endblock %}
  {% block content %}
       Some content
       {% include "table.html" %}
  {% endblock %}
  </code></pre>
  
  <p><strong>template/table.html</strong></p>
  
  <pre><code>&lt;table&gt;
     &lt;tr&gt;
        &lt;td&gt;
           {{ data }}
        &lt;/td&gt;
     &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I'd like to return to the client side the following content, to populate it with js/client side templating</p>
  
  <pre><code>&lt;div class="title"&gt;
       Hello {{ user }}
  &lt;/div&gt;
  &lt;div class="content"&gt;
       Some content
      &lt;table&gt;
        &lt;tr&gt;
          &lt;td&gt;
            {{ data }}
         &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So basically what I'm looking for is a method similar to render_template in flask, but which only assembles the template, but doesn't populate/render it with data. </p>
  
  <p>Looking around in the sources, I couldn't find such method.</p>
  
  <p>Do you have any ideas how I could accomplish this?</p>