Fetching contributors…
Cannot retrieve contributors at this time
38 lines (25 sloc) 833 Bytes
.. index:: tag;  inherit


Include the markup of an extended template into the extending template.

Say you have a template hello.tpl containing:

And in your site you have a world.tpl template, defined as:

Then, the result of rendering the template world.tpl will be:

First line
This is content from hello.tpl
This is more content from world.tpl
.. seealso:: :ref:`tag-block`, :ref:`tag-extends` and :ref:`tag-overrules`.