There is `string` in jinja, no need to create your own. 

http://jinja.pocoo.org/docs/templates/#string