Should use jinja2 template for that.