{% load static %}
{% if placement == "footer" %}
<img
  {% if site_branding.icon %}src="{{ site_branding.icon.url }}"{% else %}src="{% static 'images/favicon-180.png' %}"{% endif %}
  {% if site_branding.icon_alt %}alt="{{ site_branding.icon_alt }}"{% else %}alt="" aria-hidden="true"{% endif %}
  class="brand-icon"
  width="{{ site_branding.footer_icon_size }}"
  height="{{ site_branding.footer_icon_size }}"
  style="{{ site_branding.footer_icon_style }}"
/>
{% else %}
<img
  {% if site_branding.icon %}src="{{ site_branding.icon.url }}"{% else %}src="{% static 'images/favicon-180.png' %}"{% endif %}
  {% if site_branding.icon_alt %}alt="{{ site_branding.icon_alt }}"{% else %}alt="" aria-hidden="true"{% endif %}
  class="brand-icon"
  width="{{ site_branding.navbar_icon_size }}"
  height="{{ site_branding.navbar_icon_size }}"
  style="{{ site_branding.navbar_icon_style }}"
/>
{% endif %}
