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
src/lib/html

View file

@ -0,0 +1,11 @@
{{#if flash}}
<div
class="alert alert-{{flash.type}} alert-dismissible fade show"
role="alert"
>
{{ flash.message }}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
{{/if}}