From 57a26fb8f2b6146c16b75b6f348dcb15a2644e62 Mon Sep 17 00:00:00 2001 From: m5r Date: Sun, 31 Oct 2021 16:57:17 +0100 Subject: [PATCH] don't run prettier on email templates --- .prettierignore | 1 + mailers/templates/forgot-password.html | 4 ++-- mailers/templates/welcome.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.prettierignore b/.prettierignore index ad8c486..d26a413 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,3 +5,4 @@ db/migrations .next .blitz +mailers/**/*.html diff --git a/mailers/templates/forgot-password.html b/mailers/templates/forgot-password.html index 56daa24..c79b666 100644 --- a/mailers/templates/forgot-password.html +++ b/mailers/templates/forgot-password.html @@ -19,8 +19,8 @@ bodyClass: bg-gray-postmark-lighter Hi {{ name }},

- You recently requested to reset your password for your {{ page - .company.product}} account. Use the button below to reset it. + You recently requested to reset your password for your + {{ page.company.product }} account. Use the button below to reset it. This password reset is only valid for the next 24 hours.

Take care! -
{{ page.company.sender }}
+

{{ page.company.sender }}
Founder at {{ page.company.product }}

@@ -44,7 +44,7 @@ bodyClass: bg-gray-postmark-lighter - +