diff --git a/templates/.posthtmlrc b/templates/.posthtmlrc deleted file mode 100644 index 8b9bbb9..0000000 --- a/templates/.posthtmlrc +++ /dev/null @@ -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, - }, - }, - }, - }, -} diff --git a/templates/package.yaml b/templates/package.yaml index 72afbb9..5a22eff 100644 --- a/templates/package.yaml +++ b/templates/package.yaml @@ -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