If a template object was passed in the template context, you canextend from that object as well. Assuming the calling code passesa layout template as layout_template to the environment, thiscode works:
If a template object was passed in the template context, you canextend from that object as well. Assuming the calling code passesa layout template as layout_template to the environment, thiscode works: