Split the jinja into inherited templates