`Template inheritance¶
The most powerful -- and thus the most complex -- part of
Django's template engine is template inheritance. Template
inheritance allows you to build a base "skeleton" template
that contains all the common elements of your site and
defines blocks that child templates can override.`
Having made it in lua myself, I can tell you it is indeed quite complex. ;)The lua template only has "include" (i.e. copying another template into this template), but not "extends", (i.e. use another template as a skeleton and this template only provides details on how to fill it).