From 3ff217690daeee7b10d4649470bbc66c3f0cf68b Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Thu, 5 Oct 2023 18:47:04 +0200 Subject: [PATCH] templates: fix the error.html template when missing the locale --- templates/pages/error.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/pages/error.html b/templates/pages/error.html index 53669b9dd..868041a25 100644 --- a/templates/pages/error.html +++ b/templates/pages/error.html @@ -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" %}