feat(templating): add and use templates for /magic and emails

This commit is contained in:
Edouard Vanbelle
2026-06-03 13:35:51 +02:00
parent 044bd76738
commit 854f1d3a07
11 changed files with 570 additions and 216 deletions
@@ -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>