I need to pass block from base template to included template with context, but don't want
overlapping of this blocks in base template.
For example, I have couple templates
header.html
<header>
<title>{% block title %}{% endblock %}</title>
</header>
body1.html
{% include "test_header.html" ignore missing with context %}
{% block title %}Title1{% endblock %}
<body>
Hello
</body>
body2.html
{% include "test_header.html" ignore missing with context %}
{% block title %}Title2{% endblock %}
<body>
Hello
</body>
When I try to render body1.html, title of page renames to "Title1", but block title renders twice and shows Title1 in body. How I can pass this context exactly for include statement?