I would like to provide the same content inside 2 different base files.
So I\'m trying to do this:
page1.html:
{% extends \"base1.html\" %}
This should do the trick for you: put include tag inside of a block section.
{% extends "base1.html" %} {% block foo %} {% include "commondata.html" %} {% endblock %}
page2.html:
{% extends "base2.html" %} {% block bar %} {% include "commondata.html" %} {% endblock %}