aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2020-01-28 09:17:24 +0000
committerDave Arter <davea@mysociety.org>2020-02-26 15:23:50 +0000
commitd887072ed2c71997377782ada0d765970d4bbfef (patch)
tree0f6dc9ad17efa3e1b66178c9e4e9bdb930ced554 /templates
parentb7e26ef66550eceed854081cff4d5dbe340909c9 (diff)
Use cobrand manifest icons as iOS icons, if present
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/common_header_tags.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/base/common_header_tags.html b/templates/web/base/common_header_tags.html
index 279f561df..cf485c7b9 100644
--- a/templates/web/base/common_header_tags.html
+++ b/templates/web/base/common_header_tags.html
@@ -2,6 +2,9 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="manifest" href="/.well-known/manifest.webmanifest">
+[% FOREACH icon IN manifest_icons %]
+ <link rel="apple-touch-icon" sizes="[% icon.sizes %]" href="[% icon.src %]">
+[% END %]
[% IF csrf_token %]
<meta content="[% csrf_token %]" name="csrf-token" />