web: Support "Add to Home Screen"

This commit is contained in:
Remko Tronçon 2022-10-02 11:04:01 +02:00
parent 6a2897ac56
commit 440cfa6e2d
2 changed files with 4 additions and 0 deletions

View file

@ -115,6 +115,10 @@ const INDEX_TEMPLATE = `<!doctype html>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="/waforth/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="/waforth/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/waforth/favicon.ico" type="image/x-icon" /> <link rel="icon" href="/waforth/favicon.ico" type="image/x-icon" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="theme-color" content="#000000" />
<link rel="apple-touch-icon" href="/waforth/apple-touch-icon.png" />
<link href="/waforth/dist/$BASE.css" rel="stylesheet" /> <link href="/waforth/dist/$BASE.css" rel="stylesheet" />
<title>$TITLE</title> <title>$TITLE</title>
</head> </head>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB