{% template parent () () %} Inheritance {% section body %} This is parent body {% end %} {% end %} {% ten:template child1 (:extends parent) () %} {% section body %} This is child1 body {% end %} {% end %} {% ten:template child2 (:extends parent) () %} {% section body %} This is child2 body {{super}} {% end %} {% end %} {% ten:template child3 (:extends child2) () %} {% section body %} {{super}} This is child3 body {% end %} {% end %} {% ten:template child4 (:extends child1) () %} {% section body %} {{super}} This is child4 body {% end %} {% end %} {% template super-ex (:extends parent) () %} {% section body %} {{ super }} This is child body {% end %} {% end %}