From: Raphaƫl Gertz Date: Tue, 14 Oct 2025 11:29:40 +0000 (+0200) Subject: New mail base template X-Git-Tag: 0.0.1~8 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/b0beed5f6bd8437549590d73037ae7f61344be12 New mail base template New context layout --- diff --git a/templates/mail/_base.html.twig b/templates/mail/_base.html.twig index 23eea6d..5b2811c 100644 --- a/templates/mail/_base.html.twig +++ b/templates/mail/_base.html.twig @@ -1,10 +1,11 @@ {% extends '@RapsysBlog/_base.html.twig' %} {% block head %} + - {% if head.locale is defined and head.locale %}{% endif %} - - {{ subject }} + {% if locale is defined and locale %}{% endif %} +{% endblock %} +{% block stylesheet %} {% endblock %} -{% block header %} - - - - {##} - - - - -{% endblock %} -{% block message %}{% endblock %} -{% block footer %} - +{% block body %} +
{{ head.logo.alt }}{{ head.logo.alt }}

{{ head.site }}

+ + {% if logo is defined and logo %}{% endif %} + + +
{{ logo.alt|escape('html_attr') }}

{{ title.site }}

+ {% block content %}{% endblock %} + {% if copy is defined and copy %} + - - + + {% endif %} {% endblock %}