{% macro render_static(type, filename_or_url, local=True) -%}
{% if local -%}
{% set filename_or_url = url_for('static', filename=filename_or_url) %}
{%- endif %}
{% if type == 'css' -%}
{%- elif type == 'js' -%}
{%- elif type == 'icon' -%}
{%- endif %}
{%- endmacro %}