Skip to content

Commit eaa238f

Browse files
Add favicons and web manifest (fixes rust-gamedev#52) (rust-gamedev#53)
1 parent b4fc062 commit eaa238f

File tree

8 files changed

+23
-0
lines changed

8 files changed

+23
-0
lines changed

static/android-chrome-192x192.png

8.23 KB
Loading

static/android-chrome-512x512.png

18.1 KB
Loading

static/apple-touch-icon.png

7.37 KB
Loading

static/favicon-16x16.png

403 Bytes
Loading

static/favicon-32x32.png

929 Bytes
Loading

static/favicon.ico

15 KB
Binary file not shown.

static/site.webmanifest

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "Rust Game Development Working Group",
3+
"short_name": "Rust GameDev",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#ffffff",
17+
"background_color": "#ffffff",
18+
"display": "standalone"
19+
}

templates/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
<meta property="og:site_name" content="{{ config.title | default(value="Minima") }}">
2929

3030
<link rel="stylesheet" href="{{ get_url(path="style.css") }}">
31+
<link rel="apple-touch-icon" sizes="180x180" href="{{ get_url(path='apple-touch-icon.png') }}">
32+
<link rel="icon" type="image/png" sizes="32x32" href="{{ get_url(path="favicon-32x32.png") }}">
33+
<link rel="icon" type="image/png" sizes="16x16" href="{{ get_url(path="favicon-16x16.png") }}">
34+
<link rel="manifest" href="{{ get_url(path="site.webmanifest") }}">
3135

3236
{% if config.generate_rss %}
3337
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") }}">

0 commit comments

Comments
 (0)