From: Raphaƫl Gertz Date: Sat, 2 Nov 2024 03:06:40 +0000 (+0100) Subject: Cleanup X-Git-Tag: 0.5.2~7 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/7d3b1e0f78f0f4bccd66a4116a440937df7b0410 Cleanup Add head block Rename base template as fragment --- 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 %} - -