summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/errors/default.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/errors/default.twig b/templates/errors/default.twig
index a04afc4e..5fb8bcbd 100644
--- a/templates/errors/default.twig
+++ b/templates/errors/default.twig
@@ -1,6 +1,6 @@
{% extends "layouts/app.twig" %}
-{% block title %}Error {{ status }}{% endblock %}
+{% block title %}{% if status == 404 %}{{ __("Page not found") }}{% else %}Error {{ status }}{% endif %}{% endblock %}
{% block content %}
<div class="alert alert-info">{{ content }}</div>