Using jinja2 properly, extending templates