diff --git a/src/mail/bin/mjml-to-html b/src/mail/bin/mjml-to-html index 27db1a70e..fe0128edf 100755 --- a/src/mail/bin/mjml-to-html +++ b/src/mail/bin/mjml-to-html @@ -6,4 +6,4 @@ DOCS_DIR_MAILS="${DOCS_DIR_MAILS:-../backend/core/templates/mail}/html/" if [ ! -d "${DOCS_DIR_MAILS}" ]; then mkdir -p "${DOCS_DIR_MAILS}"; fi -mjml mjml/*.mjml -o "${DOCS_DIR_MAILS}"; +mjml mjml/*.mjml -o "${DOCS_DIR_MAILS}" --config.allowIncludes true; diff --git a/src/mail/mjml/partial/header.mjml b/src/mail/mjml/partial/header.mjml index fcd83e4aa..3cea82529 100644 --- a/src/mail/mjml/partial/header.mjml +++ b/src/mail/mjml/partial/header.mjml @@ -1,20 +1,16 @@ {{ title }} - - - {% load i18n static extra_tags %} - {{ title }} - + {{ title }} + + + /* Reset */ diff --git a/src/mail/mjml/template.mjml b/src/mail/mjml/template.mjml index a71409d44..97e92ec4b 100644 --- a/src/mail/mjml/template.mjml +++ b/src/mail/mjml/template.mjml @@ -2,6 +2,11 @@ + + {% load i18n static extra_tags %} @@ -16,11 +21,11 @@ - +

{{title|capfirst}}

- + {{message|capfirst}} {{link_label}} @@ -29,6 +34,7 @@ background-color="#000091" color="white" padding-bottom="30px" + font-family="Inter, sans-serif" > {{button_label}} @@ -39,13 +45,13 @@ width="30%" align="center" /> - + {% blocktrans %} Docs, your new essential tool for organizing, sharing and collaborating on your documents as a team. {% endblocktrans %} - +

{% blocktrans %} Brought to you by {{brandname}}