summaryrefslogtreecommitdiffstats
path: root/layouts/_default/home.manifest.webmanifest
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-23 17:37:03 +0300
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-23 17:37:03 +0300
commit5d8a5c6071b2fd528d3717156921522e2ce4bd68 (patch)
tree4e779421050da303d569af1777e9133c8b66cae1 /layouts/_default/home.manifest.webmanifest
parent9ce3f3f8f6c177715caa070b7019625e8a71a9fa (diff)
downloadgohugo-theme-ed-5d8a5c6071b2fd528d3717156921522e2ce4bd68.tar.gz
Fix icons path for webmanifest
Diffstat (limited to 'layouts/_default/home.manifest.webmanifest')
-rw-r--r--layouts/_default/home.manifest.webmanifest6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/home.manifest.webmanifest b/layouts/_default/home.manifest.webmanifest
index 50e501f..7c215eb 100644
--- a/layouts/_default/home.manifest.webmanifest
+++ b/layouts/_default/home.manifest.webmanifest
@@ -3,11 +3,11 @@
"name": {{ site.Title | htmlUnescape | jsonify }},
{{ with site.Params.tagline }}"short_name": {{ . | htmlUnescape | jsonify }},{{ end }}
{{ with site.Params.description }}"description": {{ . | htmlUnescape | jsonify }},{{ end }}
- {{ with site.LanguageCode }}"lang": {{ . | jsonify }},{{ end }}
+ {{ with site.LanguageCode }}"lang": {{ . | jsonify }},
+ "dir": "ltr", {{/* TODO: Get dir from lang */}}{{ end }}
"start_url": "/index.html",
"display": "fullscreen",
"orientation": "natural",
- "dir": "ltr", {{/* TODO: Get dir from lang */}}
"shortcuts": [ {{ range $index, $m := site.Menus.main }} {{ if or (lt .Weight 900) site.IsServer }}
{{ if $index }}, {{ end }}
{
@@ -18,7 +18,7 @@
],
"icons": [{{ $t := slice 192 512 }}{{ range $t }}
{
- "src": "/img/icon-{{.}}.png",
+ "src": "/icon-{{.}}.png",
"type": "image/png",
"sizes": "{{.}}x{{.}}"
}{{ if ne . 512 }},{{ end }}{{- end }}