summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-24 22:42:45 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-24 22:42:45 +0200
commitf67141db536e72f2f6fa08c91998f2dcbf22398f (patch)
tree1de6a1d9cb31d39478cb3e35be9c12069357c192 /layouts
parentd2f88394bc44e1d0e1d8e9beb72d7055d52ce62e (diff)
downloadgohugo-theme-ed-f67141db536e72f2f6fa08c91998f2dcbf22398f.tar.gz
Change web manifest schema
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/home.manifest.webmanifest4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/home.manifest.webmanifest b/layouts/_default/home.manifest.webmanifest
index 25ee27c..5ab7279 100644
--- a/layouts/_default/home.manifest.webmanifest
+++ b/layouts/_default/home.manifest.webmanifest
@@ -1,5 +1,5 @@
{
- "$schema": "https://json.schemastore.org/web-manifest-combined.json",
+ "$schema": "https://json.schemastore.org/web-manifest",
"name": {{ site.Title | htmlUnescape | jsonify }},
{{ with site.Params.tagline }}"short_name": {{ . | htmlUnescape | jsonify }},{{ end }}
{{ with site.Params.description }}"description": {{ . | htmlUnescape | jsonify }},{{ end }}
@@ -9,7 +9,7 @@
"display": "fullscreen",
"orientation": "natural",
"shortcuts": [ {{ range $index, $m := site.Menus.main }} {{ if or (lt .Weight 900) site.IsServer }}
- {{ if $index }}, {{ end }}
+ {{- if $index }},{{ end }}
{
"name": {{ $m.Name | jsonify }},
"short_name" : {{ $m.Identifier | jsonify }},