From 07a0809b4d1ea89b880793861fd6fa598b9a32ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Sun, 18 Sep 2022 19:30:19 +0100 Subject: [PATCH] templates/package.yaml: Move posthtml config into package.yaml --- templates/.posthtmlrc | 36 ------------------------------------ templates/package.yaml | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 36 deletions(-) delete mode 100644 templates/.posthtmlrc 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