Move to jinja template