X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..a7a0a535382be1fd706c3faca3a81201978ba587:/src/wolnelektury/templates/404.html?ds=inline diff --git a/src/wolnelektury/templates/404.html b/src/wolnelektury/templates/404.html index f3846aac4..06b57d8a9 100644 --- a/src/wolnelektury/templates/404.html +++ b/src/wolnelektury/templates/404.html @@ -1,19 +1,21 @@ -{% extends "base.html" %} +{% extends request.EXPERIMENTS.layout.value|yesno:"2022/base_simple.html,base/base.html" %} {% load i18n %} +{% block settings %} + {% load title %} + {% trans "Page does not exist" as title %} + {% title title %} +{% endblock %} -{% block titleextra %}404 - {% trans "Page does not exist" %}{% endblock %} - -{% block body %} - -<h1>{% trans "Page not found" %}</h1> - - -<p class="normal-text"> -{% trans "We are sorry, but this page does not exist. Please check if you entered correct address or go to "%} <a href="/">{% trans "main page" %}</a>. -</p> +{% block titleextra %}404 â {% trans "Page does not exist" %}{% endblock %} +{% block body %} + <h1>{% trans "Page not found" %}</h1> + <p class="normal-text"> + {% trans "We are sorry, but this page does not exist. Please check if you entered correct address or go to "%} + <a href="/">{% trans "main page" %}</a>. + </p> {% endblock body %}