From ae6ae4a1519e765223a8923d60bedf4f074cb146 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sat, 16 Feb 2019 19:44:05 +0100 Subject: [PATCH] Change HTML lang according to page lang --- templates/base.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 67131732..3ecf9fb1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -30,8 +30,9 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load i18n %} {% self_adhesion as var_sa %} +{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %} - + {# Open Graph for social media #}