{% set favicon_dir = 'default' %}

{% if theme.name == 'green' %}
    {% set favicon_dir = 'green' %}
{% elseif theme.name == 'business' %}
    {% set favicon_dir = 'business' %}
{% elseif theme.name == 'home' %}
    {% set favicon_dir = 'home' %}
{% else %}
    {% set favicon_dir = 'default' %}
{% endif %}

<link rel="icon" type="image/png" href="{{assets_dir}}/favicon/{{favicon_dir}}/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="{{assets_dir}}/favicon/{{favicon_dir}}/favicon.svg" />
<link rel="shortcut icon" href="{{assets_dir}}/favicon/{{favicon_dir}}/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="{{assets_dir}}/favicon/{{favicon_dir}}/apple-touch-icon.png" />
<link rel="manifest" href="{{assets_dir}}/favicon/{{favicon_dir}}/site.webmanifest" />