summaryrefslogtreecommitdiffstats
path: root/layouts/_default/home.manifest.webmanifest
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/home.manifest.webmanifest')
-rw-r--r--layouts/_default/home.manifest.webmanifest6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/_default/home.manifest.webmanifest b/layouts/_default/home.manifest.webmanifest
index 53c2dec..e43108e 100644
--- a/layouts/_default/home.manifest.webmanifest
+++ b/layouts/_default/home.manifest.webmanifest
@@ -6,8 +6,8 @@
"name": {{ site.Title | htmlUnescape | jsonify }},
{{ with site.Params.tagline }}"short_name": {{ . | htmlUnescape | jsonify }},{{ end }}
{{ with site.Params.description }}"description": {{ . | htmlUnescape | jsonify }},{{ end }}
- "lang": "{{ site.LanguageCode | default site.Language.Lang }}",{{ with partialCached "func/GetLanguageDirection" "GetLanguageDirection" }}
- "dir": {{ . | jsonify }},{{ end }}
+ "lang": "{{ site.Language.LanguageCode }}",
+ "dir": "{{ or site.Language.LanguageDirection `ltr` }}",
"start_url": {{ (printf "/%s" $url) | jsonify }},
"display": "fullscreen",
"theme_color": "#ffffff",
@@ -30,5 +30,3 @@
}{{ if ne . 512 }},{{ end }}{{- end }}
]
}
-
-