Skip to content

Commit c4418e4

Browse files
authored
Merge pull request #24 from coderdojo-japan/add-favicon
favicon を 2025 のものに差し替え
2 parents 5f687c0 + d7ab6f2 commit c4418e4

File tree

9 files changed

+54
-60
lines changed

9 files changed

+54
-60
lines changed

_includes/head.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@
5454
{% endif %}
5555

5656
<!-- Favicon -------------------------- -->
57-
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml">
58-
<link rel="apple-touch-icon" href="/apple-touch-icon.png"> <!-- 192x192px -->
57+
<link rel="icon" href="/img/favicon/favicon.svg" sizes="any" type="image/svg+xml">
58+
<link rel="icon" href="/img/favicon/favicon.webp" sizes="512" type="image/webp">
59+
<link rel="apple-touch-icon" href="/img/favicon/apple-touch-icon.png"> <!-- 192x192px -->
5960
<!-- favicon.ico をルートディレクトリにそっと置く。しかしheadには書かない。 -->
6061

6162
<!-- CSS Framework -------------------------- -->

favicon.ico

-14.7 KB
Binary file not shown.

favicon.svg

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

img/favicon/apple-touch-icon.png

5.57 KB
Loading

img/favicon/favicon-192.png

5.57 KB
Loading

img/favicon/favicon-512.png

16.2 KB
Loading

img/favicon/favicon.svg

Lines changed: 35 additions & 0 deletions
Loading

img/favicon/favicon.webp

8.27 KB
Binary file not shown.

site.webmanifest

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,22 @@
55
"name": "{{ site.title_short }}",
66
"short_name": "{{ site.title_short }}",
77
"icons": [
8-
{
9-
"src": "/img/android-chrome-192x192.png",
10-
"sizes": "192x192",
11-
"type": "image/png"
12-
},
13-
{
14-
"src": "/img/android-chrome-256x256.png",
15-
"sizes": "256x256",
16-
"type": "image/png"
17-
}
8+
{
9+
"src": "/img/favicon/favicon-192.png",
10+
"sizes": "192x192",
11+
"type": "image/png"
12+
},
13+
{
14+
"src": "/img/favicon/favicon-512.png",
15+
"type": "image/png",
16+
"sizes": "512x512",
17+
"purpose": "maskable"
18+
},
19+
{
20+
"src": "/img/favicon/favicon-512.png",
21+
"sizes": "512x512",
22+
"type": "image/png"
23+
}
1824
],
1925
"theme_color": "#ffffff",
2026
"background_color": "#ffffff",

0 commit comments

Comments
 (0)