aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/template/html
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2017-12-15 21:28:54 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2017-12-15 21:28:54 -0800
commit231ebf2daa9c024fbe99277f57935444946824bd (patch)
tree8b48c41201d3661fc65945d2c493281a7c4ef076 /server/template/html
parent1d8193b892bf63db6b91c66b9d048873bf1bc4cf (diff)
Add application icons
Diffstat (limited to 'server/template/html')
-rw-r--r--server/template/html/common/layout.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/template/html/common/layout.html b/server/template/html/common/layout.html
index fcc8967..1675c6c 100644
--- a/server/template/html/common/layout.html
+++ b/server/template/html/common/layout.html
@@ -4,9 +4,21 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
+ <meta name="mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-title" content="Miniflux">
+
<meta name="robots" content="noindex,nofollow">
<meta name="referrer" content="no-referrer">
+
+ <link rel="icon" type="image/png" href="{{ route "appIcon" "filename" "favicon.png" }}">
+ <link rel="apple-touch-icon" href="{{ route "appIcon" "filename" "touch-icon-iphone.png" }}">
+ <link rel="apple-touch-icon" sizes="72x72" href="{{ route "appIcon" "filename" "touch-icon-ipad.png" }}">
+ <link rel="apple-touch-icon" sizes="114x114" href="{{ route "appIcon" "filename" "touch-icon-iphone-retina.png" }}">
+ <link rel="apple-touch-icon" sizes="144x144" href="{{ route "appIcon" "filename" "touch-icon-ipad-retina.png" }}">
+ <link rel="shortcut icon" type="image/x-icon" href="{{ route "favicon" }}">
+
{{ if .csrf }}
<meta name="X-CSRF-Token" value="{{ .csrf }}">
{{ end }}