diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-12-17 17:16:42 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-14 10:38:26 +0000 |
commit | 43290e5f733b4e88c6b4e5467b7e446a416a4682 (patch) | |
tree | 7755afdfee2df3a16e2482ccead7e2af3629c062 /templates | |
parent | 7a40c15ea58b9475b40171f50a896fb79b470a94 (diff) |
A basic web manifest starter.
Reads information from a theme object if present, and icons from a
theme directory, with fallbacks.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/common_header_tags.html | 1 | ||||
-rw-r--r-- | templates/web/base/offline/appcache_manifest.html (renamed from templates/web/base/offline/manifest.html) | 0 |
2 files changed, 1 insertions, 0 deletions
diff --git a/templates/web/base/common_header_tags.html b/templates/web/base/common_header_tags.html index 728b81363..d54d97297 100644 --- a/templates/web/base/common_header_tags.html +++ b/templates/web/base/common_header_tags.html @@ -1,6 +1,7 @@ [% SET start = c.config.ADMIN_BASE_URL IF admin %] <meta http-equiv="content-type" content="text/html; charset=utf-8"> +<link rel="manifest" href="/.well-known/manifest.webmanifest"> [% IF csrf_token %] <meta content="[% csrf_token %]" name="csrf-token" /> diff --git a/templates/web/base/offline/manifest.html b/templates/web/base/offline/appcache_manifest.html index 93d26cb94..93d26cb94 100644 --- a/templates/web/base/offline/manifest.html +++ b/templates/web/base/offline/appcache_manifest.html |