Merge pull request #2 from rullmann/extended_favicons

introduce option to add favicons for different browsers and apps
This commit is contained in:
Rico Ullmann 2017-03-19 22:50:44 +01:00 committed by GitHub
commit 3f1de3c1a9

View file

@ -36,6 +36,24 @@
<link rel="icon" href="{{ FAVICON }}" type="image/x-icon">
{% endif %}
{% if EXTENDED_FAVICON_DIR %}
<link rel="apple-touch-icon" sizes="57x57" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="{{ EXTENDED_FAVICON_DIR }}/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="{{ EXTENDED_FAVICON_DIR }}/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ EXTENDED_FAVICON_DIR }}/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="{{ EXTENDED_FAVICON_DIR }}/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="{{ EXTENDED_FAVICON_DIR }}/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
{% endif %}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />