diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-06-05 20:47:48 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-06-05 20:47:48 +0200 |
| commit | 5913da424459f523357b114a683059d3fc4bef68 (patch) | |
| tree | b8b7d7701bff02722b47ddd8e134fa734540f429 | |
| parent | 94792dd336f355eb97765b2bfd5ca3f4a8254c78 (diff) | |
| download | gohugo-theme-ed-5913da424459f523357b114a683059d3fc4bef68.tar.gz | |
Enable maskable icon support
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | layouts/_default/home.manifest.webmanifest | 3 |
2 files changed, 3 insertions, 1 deletions
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 }} ] } |
