Generate Web App Manifest as custom output format

This commit is contained in:
vimux 2018-04-28 10:58:53 +03:00
parent c49845060f
commit b991eb810a
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34
2 changed files with 13 additions and 0 deletions

View file

@ -30,6 +30,16 @@ opengraph = true # Enable OpenGraph if true
twitter_cards = true # Enable Twitter Cards if true
cardsPerRow = 2 # Possible values: 1, 2, 3
#dateFormat = "2006-01-02" # change the format of dates
[outputFormats]
[outputFormats.MANIFEST]
mediaType = "application/json"
baseName = "manifest"
isPlainText = true
notAlternative = true
[outputs]
home = ["HTML", "MANIFEST"]
```
## Contributing

View file

@ -1,4 +1,7 @@
{
"name": "{{ .Site.Title }}",
"short_name": "{{ .Site.Title }}",
"display": "browser",
"background_color": "#2a2a2a",
"theme_color": "#1b1b1b",
"icons": [