refactoring email notification, closes #8

This commit is contained in:
les
2019-09-06 11:58:11 +02:00
parent 2c24591621
commit beebca7ab9
31 changed files with 195 additions and 149 deletions

13
server/emails/layout.pug Normal file
View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
html(lang="en")
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible", content="ie=edge")
title #{config.title}
body
block content
hr
small #{config.title} / #{config.description}
br
<a href='#{config.baseurl}'> #{config.baseurl}</a>