summaryrefslogtreecommitdiffstats
path: root/web/templates/head.html
diff options
context:
space:
mode:
authorFabian Frei <fabian.frei@supsi.ch>2015-07-09 11:24:46 +0200
committerFabian Frei <fabian.frei@supsi.ch>2015-07-09 11:24:46 +0200
commitcb2cb1ee42bcfd2ba0a73c7de748127cd0c9d4a3 (patch)
tree5efaed2ee7fb28b12c88bb2ffa0c8604d21c409c /web/templates/head.html
parent48c22da847cf845d07dd4efd95d03389e56340e6 (diff)
downloadchat-cb2cb1ee42bcfd2ba0a73c7de748127cd0c9d4a3.tar.gz
chat-cb2cb1ee42bcfd2ba0a73c7de748127cd0c9d4a3.tar.bz2
chat-cb2cb1ee42bcfd2ba0a73c7de748127cd0c9d4a3.zip
added link to manifest.json and ios metatags
Diffstat (limited to 'web/templates/head.html')
-rw-r--r--web/templates/head.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/web/templates/head.html b/web/templates/head.html
index abcb30700..7c9bb8b6a 100644
--- a/web/templates/head.html
+++ b/web/templates/head.html
@@ -4,6 +4,19 @@
<meta name="robots" content="noindex, nofollow">
<title>{{ .Title }}</title>
+
+ <!-- iOS add to homescreen -->
+ <meta name="apple-mobile-web-app-capable" content="yes" />
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
+ <meta name="mobile-web-app-capable" content="yes" />
+ <meta name="apple-mobile-web-app-title" content="{{ .Title }}">
+ <meta name="application-name" content="{{ .Title }}">
+ <meta name="format-detection" content="telephone=no">
+ <!-- iOS add to homescreen -->
+
+ <!-- Android add to homescreen -->
+ <link rel="manifest" href="/static/config/manifest.json">
+ <!-- Android add to homescreen -->
<link rel="stylesheet" href="/static/css/bootstrap-3.3.1.min.css">
<link rel="stylesheet" href="/static/css/jasny-bootstrap.min.css" rel="stylesheet">