mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 02:51:40 +02:00
🎉 Format all email messages with mjml
This commit is contained in:
parent
b058b5d56a
commit
65c9c46a22
8 changed files with 1068 additions and 295 deletions
|
@ -1,4 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
npx mjml resources/emails-mjml/password-recovery/en.mjml -o resources/emails/password-recovery/en.html
|
||||
for f in resources/emails-mjml/*/*.mjml
|
||||
do
|
||||
npx mjml $f -o `echo $f | sed -e "s/-mjml//" | sed -e "s/mjml/html/"`
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue