From c34c2e8d0488eba2f4caf861a36bba5448652931 Mon Sep 17 00:00:00 2001 From: Arnaud RITTI Date: Fri, 15 Apr 2022 19:36:11 +0200 Subject: [PATCH] Fix title typos for error pages --- .../TwigBundle/Exception/error.html.twig | 52 +++++++++++-------- .../TwigBundle/Exception/error404.html.twig | 52 +++++++++++-------- .../TwigBundle/Exception/error500.html.twig | 52 +++++++++++-------- 3 files changed, 90 insertions(+), 66 deletions(-) diff --git a/templates/bundles/TwigBundle/Exception/error.html.twig b/templates/bundles/TwigBundle/Exception/error.html.twig index 3778adf..ddc0ee1 100644 --- a/templates/bundles/TwigBundle/Exception/error.html.twig +++ b/templates/bundles/TwigBundle/Exception/error.html.twig @@ -1,28 +1,36 @@ {% extends 'base.html.twig' %} +{% block title %} + Oops :( +{% endblock %} + {% block content %} -
-
-

- Oops :( -

-
-
+
+
+

+ Oops :( +

+
+
-
-
-
-
-
-
-

- THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.
- Checkout for any URL misspelling or return to the homepage. -

-
-
-
-
+
+
+
+
+
+
+

+ + THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST. +
+ Checkout for any URL misspelling or + return to the homepage + . +

+
+
-
+
+
+
{% endblock %} diff --git a/templates/bundles/TwigBundle/Exception/error404.html.twig b/templates/bundles/TwigBundle/Exception/error404.html.twig index 750d31f..b430fe1 100644 --- a/templates/bundles/TwigBundle/Exception/error404.html.twig +++ b/templates/bundles/TwigBundle/Exception/error404.html.twig @@ -1,28 +1,36 @@ {% extends 'base.html.twig' %} +{% block title %} + Page not found +{% endblock %} + {% block content %} -
-
-

- Page not found -

-
-
+
+
+

+ Page not found +

+
+
-
-
-
-
-
-
-

- THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.
- Checkout for any URL misspelling or return to the homepage. -

-
-
-
-
+
+
+
+
+
+
+

+ + THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST. +
+ Checkout for any URL misspelling or + return to the homepage + . +

+
+
-
+
+
+
{% endblock %} diff --git a/templates/bundles/TwigBundle/Exception/error500.html.twig b/templates/bundles/TwigBundle/Exception/error500.html.twig index fb73425..b4c2bc3 100644 --- a/templates/bundles/TwigBundle/Exception/error500.html.twig +++ b/templates/bundles/TwigBundle/Exception/error500.html.twig @@ -1,28 +1,36 @@ {% extends 'base.html.twig' %} +{% block title %} + Internal server error +{% endblock %} + {% block content %} -
-
-

- INTERNAL SERVER ERROR -

-
-
+
+
+

+ Internal server error +

+
+
-
-
-
-
-
-
-

- THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.
- Checkout for any URL misspelling or return to the homepage. -

-
-
-
-
+
+
+
+
+
+
+

+ + THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST. +
+ Checkout for any URL misspelling or + return to the homepage + . +

+
+
-
+
+
+
{% endblock %}