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 49a4ff7899
commit 13f88aae5e

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" %}