mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-22 20:49:05 +00:00
Generate Web App Manifest as custom output format
This commit is contained in:
parent
c49845060f
commit
b991eb810a
2 changed files with 13 additions and 0 deletions
10
README.md
10
README.md
|
@ -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
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{
|
||||
"name": "{{ .Site.Title }}",
|
||||
"short_name": "{{ .Site.Title }}",
|
||||
"display": "browser",
|
||||
"background_color": "#2a2a2a",
|
||||
"theme_color": "#1b1b1b",
|
||||
"icons": [
|
Loading…
Reference in a new issue