Skip to content

Commit d04ee55

Browse files
authored
Merge pull request #2811 from hosiet/pr-fix-favicon
Fix handling of favicon
2 parents 7f94030 + b7379ff commit d04ee55

15 files changed

+16
-99
lines changed

_includes/head/custom.html

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,14 @@
22

33
<!-- start custom head snippets -->
44

5-
<link rel="apple-touch-icon" sizes="57x57" href="{{ base_path }}/images/apple-touch-icon-57x57.png?v=M44lzPylqQ">
6-
<link rel="apple-touch-icon" sizes="60x60" href="{{ base_path }}/images/apple-touch-icon-60x60.png?v=M44lzPylqQ">
7-
<link rel="apple-touch-icon" sizes="72x72" href="{{ base_path }}/images/apple-touch-icon-72x72.png?v=M44lzPylqQ">
8-
<link rel="apple-touch-icon" sizes="76x76" href="{{ base_path }}/images/apple-touch-icon-76x76.png?v=M44lzPylqQ">
9-
<link rel="apple-touch-icon" sizes="114x114" href="{{ base_path }}/images/apple-touch-icon-114x114.png?v=M44lzPylqQ">
10-
<link rel="apple-touch-icon" sizes="120x120" href="{{ base_path }}/images/apple-touch-icon-120x120.png?v=M44lzPylqQ">
11-
<link rel="apple-touch-icon" sizes="144x144" href="{{ base_path }}/images/apple-touch-icon-144x144.png?v=M44lzPylqQ">
12-
<link rel="apple-touch-icon" sizes="152x152" href="{{ base_path }}/images/apple-touch-icon-152x152.png?v=M44lzPylqQ">
13-
<link rel="apple-touch-icon" sizes="180x180" href="{{ base_path }}/images/apple-touch-icon-180x180.png?v=M44lzPylqQ">
14-
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-32x32.png?v=M44lzPylqQ" sizes="32x32">
15-
<link rel="icon" type="image/png" href="{{ base_path }}/images/android-chrome-192x192.png?v=M44lzPylqQ" sizes="192x192">
16-
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-96x96.png?v=M44lzPylqQ" sizes="96x96">
17-
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-16x16.png?v=M44lzPylqQ" sizes="16x16">
18-
<link rel="manifest" href="{{ base_path }}/images/manifest.json?v=M44lzPylqQ">
19-
<link rel="mask-icon" href="{{ base_path }}/images/safari-pinned-tab.svg?v=M44lzPylqQ" color="#000000">
20-
<link rel="shortcut icon" href="/images/favicon.ico?v=M44lzPylqQ">
21-
<meta name="msapplication-TileColor" content="#000000">
22-
<meta name="msapplication-TileImage" content="{{ base_path }}/images/mstile-144x144.png?v=M44lzPylqQ">
23-
<meta name="msapplication-config" content="{{ base_path }}/images/browserconfig.xml?v=M44lzPylqQ">
24-
<meta name="theme-color" content="#ffffff">
5+
<!-- favicon from https://commons.wikimedia.org/wiki/File:OOjs_UI_icon_academic-progressive.svg -->
6+
<link rel="apple-touch-icon" sizes="180x180" href="{{ base_path }}/images/apple-touch-icon-180x180.png"/>
7+
<link rel="icon" type="image/svg+xml" href="{{ base_path }}/images/favicon.svg"/>
8+
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-32x32.png" sizes="32x32"/>
9+
<link rel="icon" type="image/png" href="{{ base_path }}/images/favicon-192x192.png" sizes="192x192"/>
10+
<link rel="manifest" href="{{ base_path }}/images/manifest.json"/>
11+
<link rel="icon" href="/images/favicon.ico"/>
12+
<meta name="theme-color" content="#ffffff"/>
2513
<link rel="stylesheet" href="{{ base_path }}/assets/css/academicons.css"/>
2614

2715

images/apple-touch-icon-180x180.png

3.27 KB
Loading

images/browserconfig.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

images/favicon-192x192.png

3.66 KB
Loading

images/favicon-32x32.png

819 Bytes
Loading

images/favicon-512x512.png

9.5 KB
Loading

images/favicon.ico

320 Bytes
Binary file not shown.

images/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

images/manifest.json

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,15 @@
11
{
2-
"name": "Minimal Mistakes",
2+
"name": "OOjs UI icon academic-progressive",
33
"icons": [
44
{
5-
"src": "\/images\/android-chrome-36x36.png?v=M44lzPylqQ",
6-
"sizes": "36x36",
7-
"type": "image\/png",
8-
"density": 0.75
9-
},
10-
{
11-
"src": "\/images\/android-chrome-48x48.png?v=M44lzPylqQ",
12-
"sizes": "48x48",
13-
"type": "image\/png",
14-
"density": 1
15-
},
16-
{
17-
"src": "\/images\/android-chrome-72x72.png?v=M44lzPylqQ",
18-
"sizes": "72x72",
19-
"type": "image\/png",
20-
"density": 1.5
21-
},
22-
{
23-
"src": "\/images\/android-chrome-96x96.png?v=M44lzPylqQ",
24-
"sizes": "96x96",
25-
"type": "image\/png",
26-
"density": 2
27-
},
28-
{
29-
"src": "\/images\/android-chrome-144x144.png?v=M44lzPylqQ",
30-
"sizes": "144x144",
31-
"type": "image\/png",
32-
"density": 3
5+
"src": "/images/favicon-192x192.png",
6+
"sizes": "192x192",
7+
"type": "image/png"
338
},
349
{
35-
"src": "\/images\/android-chrome-192x192.png?v=M44lzPylqQ",
36-
"sizes": "192x192",
37-
"type": "image\/png",
38-
"density": 4
10+
"src": "/images/favicon-512x512.png",
11+
"sizes": "512x512",
12+
"type": "image/png"
3913
}
4014
]
4115
}

images/mstile-144x144.png

-1.14 KB
Binary file not shown.

images/mstile-150x150.png

-1.88 KB
Binary file not shown.

images/mstile-310x150.png

-2.01 KB
Binary file not shown.

images/mstile-310x310.png

-4.61 KB
Binary file not shown.

images/mstile-70x70.png

-1.09 KB
Binary file not shown.

images/safari-pinned-tab.svg

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)