{%- macro static(some_file) -%} {{ url_for('.static', filename=some_file) }} {%- endmacro -%}