diff options
Diffstat (limited to 'accounts/templates/mail/_base.txt')
-rw-r--r-- | accounts/templates/mail/_base.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/accounts/templates/mail/_base.txt b/accounts/templates/mail/_base.txt new file mode 100644 index 0000000..b5941da --- /dev/null +++ b/accounts/templates/mail/_base.txt @@ -0,0 +1,15 @@ +{% macro subject() -%} + {% block subject %}{% endblock %} +{%- endmacro %} + +{% macro sender() -%} + {% if self.sender() -%} + {% block sender %}{% endblock %} + {%- else -%} + {{ config['MAIL_DEFAULT_SENDER'] }} + {%- endif %} +{%- endmacro %} + +{% macro body() -%} + {% block body %}{% endblock %} +{%- endmacro %} |