{%- macro render_logo(src, classname) -%} {%- if src and src.startswith(('https://', 'http://')) -%} {%- elif src -%} {%- elif logo_url -%} {%- endif -%} {%- endmacro -%}