@@ -6,44 +6,44 @@ export const head: HeadConfig[] = [
66 [ 'meta' , { 'http-equiv' : 'pragma' , content : 'no-cache' } ] ,
77 [ 'meta' , { 'http-equiv' : 'expires' , content : '0' } ] ,
88
9- [ 'link' , { rel : 'icon' , type : 'image/png' , sizes : '16x16' , href : BASE_DIR + 'icons/favicon-16x16.png' } ] ,
10- [ 'link' , { rel : 'icon' , type : 'image/png' , sizes : '32x32' , href : BASE_DIR + 'icons/favicon-32x32.png' } ] ,
11- [ 'link' , { rel : 'icon' , type : 'image/png' , sizes : '96x96' , href : BASE_DIR + 'icons/favicon-96x96.png' } ] ,
12- [ 'link' , { rel : 'icon' , type : 'image/png' , sizes : '128x128' , href : BASE_DIR + 'icons/favicon-128x128.png' } ] ,
13- [ 'link' , { rel : 'icon' , type : 'image/ico' , href : BASE_DIR + 'icons/favicon.ico' } ] ,
9+ [ 'link' , { rel : 'icon' , type : 'image/png' , sizes : '16x16' , href : BASE_DIR + 'icons/head/ favicon-16x16.png' } ] ,
10+ [ 'link' , { rel : 'icon' , type : 'image/png' , sizes : '32x32' , href : BASE_DIR + 'icons/head/ favicon-32x32.png' } ] ,
11+ [ 'link' , { rel : 'icon' , type : 'image/png' , sizes : '96x96' , href : BASE_DIR + 'icons/head/ favicon-96x96.png' } ] ,
12+ [ 'link' , { rel : 'icon' , type : 'image/png' , sizes : '128x128' , href : BASE_DIR + 'icons/head/ favicon-128x128.png' } ] ,
13+ [ 'link' , { rel : 'icon' , type : 'image/ico' , href : BASE_DIR + 'icons/head/ favicon.ico' } ] ,
1414
1515 // iPhone XR
16- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" , href : BASE_DIR + " icons/apple-launch-828x1792.png" } ] ,
16+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)' , href : BASE_DIR + ' icons/head/ apple-launch-828x1792.png' } ] ,
1717 // iPhone X, XS
18- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" , href : BASE_DIR + " icons/apple-launch-1125x2436.png" } ] ,
18+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)' , href : BASE_DIR + ' icons/head/ apple-launch-1125x2436.png' } ] ,
1919 // iPhone XS Max
20- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" , href : BASE_DIR + " icons/apple-launch-1242x2688.png" } ] ,
20+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)' , href : BASE_DIR + ' icons/head/ apple-launch-1242x2688.png' } ] ,
2121 // iPhone 8, 7, 6s, 6
22- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" , href : BASE_DIR + " icons/apple-launch-750x1334.png" } ] ,
22+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)' , href : BASE_DIR + ' icons/head/ apple-launch-750x1334.png' } ] ,
2323 // iPhone 8 Plus, 7 Plus, 6s Plus, 6 Plus
24- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3)" , href : BASE_DIR + " icons/apple-launch-1242x2208.png" } ] ,
24+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3)' , href : BASE_DIR + ' icons/head/ apple-launch-1242x2208.png' } ] ,
2525 // iPhone 5
26- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" , href : BASE_DIR + " icons/apple-launch-640x1136.png" } ] ,
26+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)' , href : BASE_DIR + ' icons/head/ apple-launch-640x1136.png' } ] ,
2727 // iPad Mini, Air, 9.7
28- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" , href : BASE_DIR + " icons/apple-launch-1536x2048.png" } ] ,
28+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)' , href : BASE_DIR + ' icons/head/ apple-launch-1536x2048.png' } ] ,
2929 // iPad Pro 10.5
30- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" , href : BASE_DIR + " icons/apple-launch-1668x2224.png" } ] ,
30+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)' , href : BASE_DIR + ' icons/head/ apple-launch-1668x2224.png' } ] ,
3131 // iPad Pro 11
32- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)" , href : BASE_DIR + " icons/apple-launch-1668x2388.png" } ] ,
33- // iPad Pro 12.9"
34- [ 'link' , { rel : " apple-touch-startup-image" , media : " (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" , href : BASE_DIR + " icons/apple-launch-2048x2732.png" } ] ,
32+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)' , href : BASE_DIR + ' icons/head/ apple-launch-1668x2388.png' } ] ,
33+ // iPad Pro 12.9'
34+ [ 'link' , { rel : ' apple-touch-startup-image' , media : ' (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)' , href : BASE_DIR + ' icons/head/ apple-launch-2048x2732.png' } ] ,
3535
3636 // PWA
3737 [ 'link' , { rel : 'manifest' , href : BASE_DIR + 'manifest.json' } ] ,
3838 [ 'meta' , { name : 'theme-color' , content : 'white' } ] ,
3939 [ 'meta' , { name : 'apple-mobile-web-app-capable' , content : 'yes' } ] ,
4040 [ 'meta' , { name : 'apple-mobile-web-app-status-bar-style' , content : 'black' } ] ,
4141 [ 'meta' , { name : 'apple-mobile-web-app-title' , content : 'Hyperion Documentation' } ] ,
42- [ 'link' , { rel : 'apple-touch-icon' , sizes : '120x120' , href : BASE_DIR + 'icons/apple-icon-120x120.png' } ] ,
43- [ 'link' , { rel : 'apple-touch-icon' , sizes : '152x152' , href : BASE_DIR + 'icons/apple-icon-152x152.png' } ] ,
44- [ 'link' , { rel : 'apple-touch-icon' , sizes : '167x167' , href : BASE_DIR + 'icons/apple-icon-167x167.png' } ] ,
45- [ 'link' , { rel : 'apple-touch-icon' , sizes : '180x180' , href : BASE_DIR + 'icons/apple-icon-180x180.png' } ] ,
46- [ 'link' , { rel : 'mask-icon' , href : BASE_DIR + 'icons/safari-pinned-tab.svg' , color : '#fff' } ] ,
47- [ 'meta' , { name : 'msapplication-TileImage' , content : BASE_DIR + 'icons/ms-icon-144x144.png' } ] , // probably invert
42+ [ 'link' , { rel : 'apple-touch-icon' , sizes : '120x120' , href : BASE_DIR + 'icons/head/ apple-icon-120x120.png' } ] ,
43+ [ 'link' , { rel : 'apple-touch-icon' , sizes : '152x152' , href : BASE_DIR + 'icons/head/ apple-icon-152x152.png' } ] ,
44+ [ 'link' , { rel : 'apple-touch-icon' , sizes : '167x167' , href : BASE_DIR + 'icons/head/ apple-icon-167x167.png' } ] ,
45+ [ 'link' , { rel : 'apple-touch-icon' , sizes : '180x180' , href : BASE_DIR + 'icons/head/ apple-icon-180x180.png' } ] ,
46+ [ 'link' , { rel : 'mask-icon' , href : BASE_DIR + 'icons/head/ safari-pinned-tab.svg' , color : '#fff' } ] ,
47+ [ 'meta' , { name : 'msapplication-TileImage' , content : BASE_DIR + 'icons/head/ ms-icon-144x144.png' } ] , // probably invert
4848 [ 'meta' , { name : 'msapplication-TileColor' , content : 'white' } ] // might not match with icon
4949]
0 commit comments