From 5913da424459f523357b114a683059d3fc4bef68 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 5 Jun 2022 20:47:48 +0200 Subject: Enable maskable icon support --- CHANGELOG.md | 1 + layouts/_default/home.manifest.webmanifest | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d551958..fd92b25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix tags html layout - Add missed `theme-color` meta tag +- Enable maskable icon support ## [v0.3.0](https://github.com/sergeyklay/gohugo-theme-ed/compare/v0.2.0...v0.3.0) diff --git a/layouts/_default/home.manifest.webmanifest b/layouts/_default/home.manifest.webmanifest index c9437df..ba35d63 100644 --- a/layouts/_default/home.manifest.webmanifest +++ b/layouts/_default/home.manifest.webmanifest @@ -24,7 +24,8 @@ { "src": "/icon-{{ . }}.png", "type": "image/png", - "sizes": "{{ . }}x{{ . }}" + "sizes": "{{ . }}x{{ . }}", + "purpose": "any maskable" }{{ if ne . 512 }},{{ end }}{{- end }} ] } -- cgit v1.2.3