title: Fill a block of parent template from included child template
body: <p>I am just starting out with jinja2 template library. I can't figure out how to fill content in a block of parent template from included child template.
  For example I have a parent template-</p>
  
  <p>t-1:</p>
  
  <pre><code>&lt;div id="includedTemplateName&gt;
      {% block includedTemplateName %}{% endblock %}
  &lt;/div&gt;
  
  &lt;div id="content"&gt;
      {% include 't-2.htm' %}
  &lt;/div&gt;
  </code></pre>
  
  <p>and child template</p>
  
  <p>t-2:</p>
  
  <pre><code>&lt;div&gt;
  conten
  &lt;/div&gt;
  {% block includedTemplateName %}t-2{% endblock %}
  </code></pre>
  
  <p>I want value in div with id <code>includedTemplateName</code> to be 't-2' as defined in t-2.
  How can I achieve this with jinja2?</p>