Remove pug in favor of a few posthtml plugins

Pug caused no end of issues and is frankly far too heavy-weight for
what I want.

As it turns out, there are posthtml plugins to do everything pug did
for me, so it's getting kicked out.
This commit is contained in:
Tristan Daniël Maat 2021-04-11 00:32:26 +01:00
parent 144e52df2b
commit db64e511d0
Signed by: tlater
GPG key ID: 49670FD774E43268
16 changed files with 756 additions and 1554 deletions

36
.posthtmlrc Normal file
View file

@ -0,0 +1,36 @@
{
"plugins": {
"posthtml-md": {
"root": "src",
},
"posthtml-extend": {
"root": "src",
},
"posthtml-include": {
"root": "src",
},
"posthtml-favicons": {
"root": "src",
"outDir": "./dist/browser/",
"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": "#991dce",
"appleStatusBarStyle": "black-translucent",
"display": "browser",
"orientation": "any",
"start_url": "https://tlater.net",
"version": "1.0",
"icons": {
"favicons": true,
},
},
},
},
}