Skip to content

Commit f9bbaf5

Browse files
committed
bug #1956 [Site] Fix error page (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- [Site] Fix error page 404 pages generated 500 errors Commits ------- 33684eb [Site] Fix error page
2 parents b93f7be + 33684eb commit f9bbaf5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ux.symfony.com/templates/bundles/TwigBundle/Exception/error.html.twig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
{% block title %}Error {{ status_code }} - Symfony UX{% endblock %}
44

5+
{% block meta %}{% endblock %}
6+
7+
{% block banner %}{% endblock %}
8+
59
{% block main %}
610
<main style="display: grid; place-content: center;text-align: center;" >
711
<div class="d-flex flex-column align-items-center position-relative" style="gap:.5rem;">
@@ -12,5 +16,3 @@
1216
</div>
1317
</main>
1418
{% endblock %}
15-
16-
{% block footer %}{% endblock %}

0 commit comments

Comments
 (0)