2018-03-12 18:28:20 +00:00
|
|
|
{
|
2018-05-22 10:12:29 +00:00
|
|
|
"name": "{{ if .Site.Params.Manifest.name }}{{ .Site.Params.Manifest.name }}{{ else }}{{ .Site.Title }}{{ end }}",
|
|
|
|
"short_name": "{{ if .Site.Params.Manifest.shortName }}{{ .Site.Params.Manifest.shortName }}{{ else }}{{ .Site.Title }}{{ end }}",
|
|
|
|
"display": "{{ .Site.Params.Manifest.display | default "browser" }}",
|
|
|
|
"background_color": "{{ .Site.Params.Manifest.backgroundColor | default "#2a2a2a" }}",
|
|
|
|
"theme_color": "{{ .Site.Params.Manifest.themeColor | default "#1b1b1b" }}",
|
|
|
|
{{- with .Site.Params.Manifest.description }}"description": "{{ . }}",{{ end }}
|
|
|
|
{{- with .Site.Params.Manifest.orientation }}"orientation": "{{ . }}",{{ end }}
|
|
|
|
{{- with .Site.Params.Manifest.startUrl }}"start_url": "{{ . }}",{{ end }}
|
|
|
|
{{- with .Site.Params.Manifest.scope }}"scope": "{{ . }}",{{ end }}
|
2018-03-12 18:28:20 +00:00
|
|
|
"icons": [
|
|
|
|
{
|
|
|
|
"src": "icons/192.png",
|
|
|
|
"sizes": "192x192",
|
|
|
|
"type": "image/png"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"src": "icons/512.png",
|
|
|
|
"sizes": "512x512",
|
|
|
|
"type": "image/png"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|