From 1cc4871dd23797f29535fcdf7d58e0380c05dec9 Mon Sep 17 00:00:00 2001 From: Alphonse Paix Date: Mon, 22 Sep 2025 01:43:36 +0200 Subject: [PATCH] Templates refactoring Inject HTML directly and fix footer out of main content
--- templates/email/base.html | 24 ++++++++++++------------ templates/email/standalone.html | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/email/base.html b/templates/email/base.html index 2d3e480..05a1935 100644 --- a/templates/email/base.html +++ b/templates/email/base.html @@ -128,18 +128,18 @@ body {
{% block content %}{% endblock %}
-
- diff --git a/templates/email/standalone.html b/templates/email/standalone.html index b8c6303..64079ce 100644 --- a/templates/email/standalone.html +++ b/templates/email/standalone.html @@ -1,2 +1,2 @@ {% extends "base.html" %} -{% block content %}{{ html_content }}{% endblock %} +{% block content %}{{ html_content|safe }}{% endblock %}