add relative location support for jinja