add url_for to jinja2 snippets