From df4c603dea022146476812cbbc2b9f8f1e5e4870 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 5 May 2020 20:22:22 +0200 Subject: Switch emails to pug templates and provide richer html/text-only versions --- server/lib/emails/verify-email/html.pug | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 server/lib/emails/verify-email/html.pug (limited to 'server/lib/emails/verify-email') diff --git a/server/lib/emails/verify-email/html.pug b/server/lib/emails/verify-email/html.pug new file mode 100644 index 000000000..8a4a77703 --- /dev/null +++ b/server/lib/emails/verify-email/html.pug @@ -0,0 +1,14 @@ +extends ../common/greetings + +block title + | Account verification + +block content + p Welcome to PeerTube! + p. + You just created an account #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}], your new PeerTube instance. + Your username there is: #{username}. + p. + To start using PeerTube on #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] you must verify your email first! + Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you: #[a(href=verifyEmailUrl) #{verifyEmailUrl}] + If you are not the person who initiated this request, please ignore this email. \ No newline at end of file -- cgit v1.2.3