From 38a713efa70d99077ff7f578828c243b3ca861e8 Mon Sep 17 00:00:00 2001 From: tymoteuszjozwiak Date: Tue, 17 Jan 2023 21:56:20 +0100 Subject: [PATCH] fix error page --- templates/error.html.twig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/error.html.twig b/templates/error.html.twig index 1e28fa1..9d6038c 100644 --- a/templates/error.html.twig +++ b/templates/error.html.twig @@ -1,6 +1,11 @@ {% extends 'partials/base.html.twig' %} -{% set page_title = 'Błąd 404' %} + {% block content %} -

Błąd 404

-

Ta strona nie istnieje

+ {% if page.header.left %} +
+ {{ page.content | raw }} +
+ {% else %} + {{ page.content|raw }} + {% endif %} {% endblock %} \ No newline at end of file