manifest.json support in static folder
This commit is contained in:
parent
fd9a1f26b1
commit
be1cd32fe3
|
@ -29,16 +29,7 @@ googleAnalytics = ""
|
|||
noClasses = false
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON", "WEBMANIFEST"]
|
||||
|
||||
[mediaTypes."application/manifest+json"]
|
||||
suffixes = ["webmanifest"]
|
||||
|
||||
[outputFormats.webmanifest]
|
||||
name = "webmanifest"
|
||||
baseName = "webmanifest"
|
||||
mediaType = "application/manifest+json"
|
||||
rel = "manifest"
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
[taxonomies]
|
||||
category = "categories"
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
[[main]]
|
||||
identifier = "about"
|
||||
name = "어바웃"
|
||||
url = "about"
|
||||
weight = 1
|
||||
|
||||
[[main]]
|
||||
identifier = "archive"
|
||||
name = "아카이브"
|
||||
url = "archive"
|
||||
weight = 2
|
||||
|
||||
[[main]]
|
||||
identifier = "gallery"
|
||||
name = "갤러리"
|
||||
url = "gallery"
|
||||
weight = 3
|
||||
|
||||
[[main]]
|
||||
parent = "gallery"
|
||||
name = "fiverr"
|
||||
url = "gallery/mine"
|
||||
|
||||
[[main]]
|
||||
identifier = "posts"
|
||||
name = "포스트"
|
||||
url = "posts"
|
||||
weight = 4
|
||||
|
||||
[[main]]
|
||||
identifier = "notes"
|
||||
name = "노트"
|
||||
url = "notes"
|
||||
weight = 5
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"name": "{{site.Title}}",
|
||||
"short_name": "{{site.Title}}",
|
||||
"lang": "{{site.Language.Lang}}",
|
||||
"theme_color": "#FF6188",
|
||||
"background_color": "#2D2A2E",
|
||||
"icons": [{
|
||||
"src": "{{ .Site.BaseURL }}{{ "logo-192.png" }}",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "{{ .Site.BaseURL }}{{ "logo-512.png" }}",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}],
|
||||
"display": "standalone",
|
||||
"start_url": "{{ "/" | relLangURL }}?utm_source=web_app_manifest"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Zzo",
|
||||
"version": "1.0.0",
|
||||
"default_locale": "en",
|
||||
"description": "Hugo blog theme"
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "My Extension",
|
||||
"version": "versionString",
|
||||
"default_locale": "en",
|
||||
"description": "A plain text description",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.png",
|
||||
"sizes": "16x16",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "logo.png",
|
||||
"sizes": "48x48",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "logo-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
}, {
|
||||
"src": "logo-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"persistent": false
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue