feat(templating): add and use templates for /magic and emails
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ locale_code }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>OxiCloud</title>
|
||||
<style>
|
||||
body { font-family: system-ui, sans-serif; max-width: 640px; margin: 6em auto;
|
||||
padding: 0 1em; color: #333; }
|
||||
h1 { font-size: 1.4em; }
|
||||
p { line-height: 1.5; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ title }}</h1>
|
||||
<p>{{ body }}</p>
|
||||
<p><a href="/">{{ return_link }}</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user