Directive: extend
Jael supports template inheritance by means of extend
and block
.
Note the following example:
To extend a layout, instead of the file containing an <html>
node, create a file with an <extend>
node. The src
attribute should point to the correct file. Then, add <block>
tags that will replace the corresponding <block>
tags declared in the parent file.
Last updated