母版

主要功能是给其它模板继承的

会为其它模板预留一些自定义的区块

{% block 块名 %}
{% endblock 块名 %}
子版

可以继承母版

同时往母版预留的区域中插入内容

往区域中插入内容

{% block 块名 %}
{% endblock 块名 %}