Skip to content

Commit ad57f89

Browse files
committed
remove references to icons we dont have anymore, simplify icon html
we can just get by with the svg these days
1 parent 2beb1e3 commit ad57f89

File tree

4 files changed

+3
-28
lines changed

4 files changed

+3
-28
lines changed

_layouts/base.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,8 @@
1111
<meta name="theme-color" content="{{ site.brand_color }}">
1212
<meta name="viewport" content="width=device-width,initial-scale=1">
1313
<title>{{ page.title }}</title>
14-
<link rel="apple-touch-icon" href="/icons/apple-touch-180x180.png" sizes="180x180">
14+
<link rel="icon" href="/icons/icon.svg" type="image/svg+xml">
1515
<link rel="feed" type="application/atom+xml" href="https://github.com/lodash/lodash/commits/master.atom">
16-
<link rel="icon" type="image/png" href="/icons/favicon-32x32.png" sizes="32x32">
17-
{% assign href = '/icons/favicon-16x16.png' %}
18-
{% unless site.github.hostname == 'github.com' %}
19-
{% capture href %}{% base64 icons/favicon-16x16.png %}{% endcapture %}
20-
{% endunless %}
21-
<link rel="icon" type="image/png" href="{{ href }}" sizes="16x16">
2216
<link rel="manifest" href="/manifest.webmanifest">
2317
<link rel="mask-icon" href="/icons/safari-pinned-tab-16x16.svg" color="{{ site.brand_color }}">
2418
{% assign pageURL = page.url | remove_first:'.html' %}

manifest.appcache

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ ignored: [
88
]
99
cache: [
1010
'/docs/',
11-
'/favicon.ico',
12-
'/icons/apple-touch-180x180.png',
13-
'/icons/favicon-32x32.png'
11+
'/favicon.ico'
1412
]
1513
---
1614
CACHE MANIFEST

manifest.webmanifest

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,6 @@
1111
"start_url": "/",
1212
"theme_color": "#3492ff",
1313
"icons": [
14-
{
15-
"src": "/icons/chrome-launcher-144x144.png",
16-
"sizes": "144x144",
17-
"type": "image/png"
18-
},
19-
{
20-
"src": "/icons/android-home-192x192.png",
21-
"sizes": "192x192",
22-
"type": "image/png"
23-
},
24-
{
25-
"src": "/icons/android-splash-512x512.png",
26-
"sizes": "512x512",
27-
"type": "image/png"
28-
},
2914
{
3015
"src": "/assets/img/lodash.svg",
3116
"sizes": "any",

sw.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ ignored: [
66
]
77
prefetch: [
88
'/sw.js',
9-
'/manifest.webmanifest',
10-
'/icons/apple-touch-180x180.png',
11-
'/icons/favicon-32x32.png'
9+
'/manifest.webmanifest'
1210
]
1311
---
1412
'use strict'

0 commit comments

Comments
 (0)