templates/package.yaml: Move posthtml config into package.yaml

pull/12/head
Tristan Daniël Maat 2022-09-18 19:30:19 +01:00
parent 9fb195819e
commit 07a0809b4d
Signed by: tlater
GPG Key ID: 49670FD774E43268
2 changed files with 29 additions and 36 deletions

View File

@ -1,36 +0,0 @@
{
"plugins": {
"posthtml-markdownit": {
"root": "src",
},
"posthtml-extend": {
"root": "src",
},
"posthtml-include": {
"root": "src",
},
"posthtml-favicons": {
"root": "src",
"outDir": "./dist/",
"configuration": {
"appName": "tlater.net",
"appShortName": "tlater.net",
"appDescription": "tlater's home page",
"developerName": "Tristan Daniël Maat",
"developerURL": "https://tlater.net",
"dir": "auto",
"lang": "en-US",
"background": "#0f0f0f",
"theme_color": "#99d1ce",
"appleStatusBarStyle": "black-translucent",
"display": "browser",
"orientation": "any",
"start_url": "https://tlater.net",
"version": "1.0",
"icons": {
"favicons": true,
},
},
},
},
}

View File

@ -83,3 +83,32 @@ source:
- src/error.html
browserslist: '> 1%, not dead'
posthtml:
plugins:
posthtml-markdownit:
root: src
posthtml-extend:
root: src
posthtml-include:
root: src
posthtml-favicons:
root: src
outDir: ./dist/
configuration:
appName: tlater.net
appShortName: tlater.net
appDescription: tlater's home page
developerName: Tristan Daniël Maat
developerURL: https://tlater.net
dir: auto
lang: en-US
background: '#0f0f0f'
theme_color: '#99d1ce'
appleStatusBarStyle: black-translucent
display: browser
orientation: any
start_url: https://tlater.net
version: '1.0'
icons:
favicons: true