templates: fix the error.html template when missing the locale

This commit is contained in:
Quentin Gliech
2023-10-05 18:47:04 +02:00
parent 36f28f82c2
commit 3ff217690d
+1 -1
View File
@@ -15,7 +15,7 @@ limitations under the License.
#}
{# Sometimes we don't have the language set, so we default to english #}
{% set lang = lang | default("en") %}
{% set lang = lang or "en" %}
{% extends "base.html" %}