Permalink
Browse files

Merge pull request #2 from rullmann/extended_favicons

introduce option to add favicons for different browsers and apps
  • Loading branch information...
rullmann committed Mar 19, 2017
2 parents 8deba93 + 7474daf commit 3f1de3c1a901498281672d0c4ec534b67fb9546a
Showing with 18 additions and 0 deletions.
  1. +18 −0 templates/base.html
@@ -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" />

0 comments on commit 3f1de3c

Please sign in to comment.