From 7d3b1e0f78f0f4bccd66a4116a440937df7b0410 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 2 Nov 2024 04:06:40 +0100 Subject: [PATCH] Cleanup Add head block Rename base template as fragment --- templates/_base.html.twig | 22 ++++++++++++++++++++++ templates/base.html.twig | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 templates/_base.html.twig delete mode 100644 templates/base.html.twig diff --git a/templates/_base.html.twig b/templates/_base.html.twig new file mode 100644 index 0000000..533de56 --- /dev/null +++ b/templates/_base.html.twig @@ -0,0 +1,22 @@ + + + + + {% block title %}{{ title }} - {{ site }}{% endblock %} + {% block head %}{% endblock %} + {% block stylesheets %}{% endblock %} + {% block javascripts %}{% endblock %} + + + {% block body %} +
+
+

{{ site }}

+
+ {{ include('@RapsysUser/_message.html.twig') }} + {% block content %}{% endblock %} + {{ include('@RapsysUser/_footer.html.twig') }} +
+ {% endblock %} + + diff --git a/templates/base.html.twig b/templates/base.html.twig deleted file mode 100644 index f6e912c..0000000 --- a/templates/base.html.twig +++ /dev/null @@ -1,22 +0,0 @@ - - - - - {% block title %}{{ title }} - {{ site }}{% endblock %} - - {% block stylesheets %}{% endblock %} - {% block javascripts %}{% endblock %} - - - {% block body %} -
-
-

{{ site }}

-
- {{ include('@RapsysUser/_message.html.twig') }} - {% block content %}{% endblock %} - {{ include('@RapsysUser/_footer.html.twig') }} -
- {% endblock %} - - -- 2.41.1