diff --git a/assets/mask.svg b/assets/mask.svg deleted file mode 120000 index 7e83a11..0000000 --- a/assets/mask.svg +++ /dev/null @@ -1 +0,0 @@ -../static/mask.svg \ No newline at end of file diff --git a/assets/mask_apple.svg b/assets/mask_apple.svg new file mode 120000 index 0000000..4b501d7 --- /dev/null +++ b/assets/mask_apple.svg @@ -0,0 +1 @@ +../static/mask_apple.svg \ No newline at end of file diff --git a/static/manifest.webmanifest b/static/manifest.webmanifest index 178b5dd..a741e2a 100644 --- a/static/manifest.webmanifest +++ b/static/manifest.webmanifest @@ -1,16 +1,27 @@ { - "name": "", - "short_name": "", + "name": "Seirdy's Home", + "short_name": "Seirdy", + "display": "browser", + "scope": "/", + "start_url": ".", "icons": [ { "src": "https://seirdy.one/apple-touch-icon.png", "sizes": "192x192", - "type": "image/png" + "type": "image/png", + "purpose": "any" }, { "src": "https://seirdy.one/favicon.svg", - "sizes": "193x193", - "type": "image/svg" + "sizes": "1024x1024", + "type": "image/svg+xml", + "purpose": "any" + }, + { + "src": "https://seirdy.one/maskable_android.svg", + "sizes": "1024x1024", + "type": "image/svg+xml", + "purpose": "maskable" } ] } diff --git a/static/mask.svg b/static/mask_apple.svg similarity index 100% rename from static/mask.svg rename to static/mask_apple.svg diff --git a/static/maskable_android.svg b/static/maskable_android.svg new file mode 100644 index 0000000..c25ad63 --- /dev/null +++ b/static/maskable_android.svg @@ -0,0 +1 @@ + diff --git a/themes/etch-custom/layouts/partials/head.html b/themes/etch-custom/layouts/partials/head.html index 72c88f1..7271db1 100644 --- a/themes/etch-custom/layouts/partials/head.html +++ b/themes/etch-custom/layouts/partials/head.html @@ -12,7 +12,7 @@ they're pseudo-standards relied upon by other vendors too. See https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes--> {{ printf `` $icon_192.RelPermalink | safeHTML }} - {{ $mask_icon := resources.Get "/mask.svg" | resources.Fingerprint "md5" -}} + {{ $mask_icon := resources.Get "/mask_apple.svg" | resources.Fingerprint "md5" -}} {{ printf `` $mask_icon.RelPermalink | safeHTML }}