From f8554d5f7a36e40d6039de1c82f4ce0a831af193 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Fri, 21 May 2021 09:33:31 +0200 Subject: [PATCH] global site name in templates --- templates/base.html.twig | 10 +++++----- templates/email-base-plaintext.html.twig | 2 +- templates/email-base.html.twig | 4 ++-- templates/emails/footer.html.twig | 4 ++-- templates/emails/owner-list.html.twig | 2 +- templates/index.html.twig | 2 +- templates/pages/migration.html.twig | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/base.html.twig b/templates/base.html.twig index a2ad8c1..8238cfa 100755 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -9,11 +9,11 @@ - {% block title %}Framdate{% endblock %} -{# {% block stylesheets %}#} -{# #} -{# #} -{# {% endblock %}#} + {% block title %}{{ WEBSITE_NAME }}{% endblock %} + {# {% block stylesheets %} #} + {# #} + {# #} + {# {% endblock %} #} {% include 'split/header.html.twig' %} diff --git a/templates/email-base-plaintext.html.twig b/templates/email-base-plaintext.html.twig index 8659d75..39339d8 100644 --- a/templates/email-base-plaintext.html.twig +++ b/templates/email-base-plaintext.html.twig @@ -2,7 +2,7 @@ {% if title is defined %}

{{ title }}

{% else %} -

Framadate - email

+

{{ WEBSITE_NAME }} - email

{% endif %}
{% endblock %} diff --git a/templates/email-base.html.twig b/templates/email-base.html.twig index 2309a29..681e802 100644 --- a/templates/email-base.html.twig +++ b/templates/email-base.html.twig @@ -9,9 +9,9 @@
{% block title %} {% if title is defined %} -

{{ title }}

+

{{ title }} - {{ WEBSITE_NAME }}

{% else %} -

Framadate

+

{{ WEBSITE_NAME }}

{% endif %}
{% endblock %} diff --git a/templates/emails/footer.html.twig b/templates/emails/footer.html.twig index 4452390..9c0a01b 100755 --- a/templates/emails/footer.html.twig +++ b/templates/emails/footer.html.twig @@ -1,5 +1,5 @@