{% set favicon_dir = 'default' %}

{% set faviconversion = 1.4 %}

{% 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?v={{faviconversion}}" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="{{assets_dir}}/favicon/{{favicon_dir}}/favicon.svg?v={{faviconversion}}" />
<link rel="shortcut icon" href="{{assets_dir}}/favicon/{{favicon_dir}}/favicon.ico?v={{faviconversion}}" />
<link rel="apple-touch-icon" sizes="180x180" href="{{assets_dir}}/favicon/{{favicon_dir}}/apple-touch-icon.png?v={{faviconversion}}" />
<link rel="manifest" href="{{assets_dir}}/favicon/{{favicon_dir}}/site.webmanifest?v={{faviconversion}}" />