]> Raphaël G. Git Repositories - airbundle/commitdiff
Add apple-touch-icon 120x120 for outdated iOS 0.1.9
authorRaphaël Gertz <git@rapsys.eu>
Wed, 30 Dec 2020 02:33:08 +0000 (03:33 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 30 Dec 2020 02:33:08 +0000 (03:33 +0100)
Resources/public/png/icon.120.png [new file with mode: 0644]
Resources/views/body.html.twig

diff --git a/Resources/public/png/icon.120.png b/Resources/public/png/icon.120.png
new file mode 100644 (file)
index 0000000..17a9890
Binary files /dev/null and b/Resources/public/png/icon.120.png differ
index 760a59d79dfe40ab2bb098a7ed1b4a63b805745d..6dca55dfd6e6985c27d8d054ae473ab25e75cb1f 100644 (file)
@@ -14,7 +14,7 @@
        <link rel="icon" type="image/svg+xml" href="{{ asset(site.svg) }}" />
        {% for size, icon in site.png %}
                {# Apple #}
        <link rel="icon" type="image/svg+xml" href="{{ asset(site.svg) }}" />
        {% for size, icon in site.png %}
                {# Apple #}
-               {% if size in [152, 167, 180] %}
+               {% if size in [120, 152, 167, 180] %}
                        {% if size == 180 %}
                                <link rel="apple-touch-icon" href="{{ asset(icon) }}" />
                        {% endif %}
                        {% if size == 180 %}
                                <link rel="apple-touch-icon" href="{{ asset(icon) }}" />
                        {% endif %}