From b6dbb3d3408a84fe9bf5dfe3c047e5539e8e7140 Mon Sep 17 00:00:00 2001 From: "Mr. Senko" Date: Sun, 17 Jan 2016 17:12:00 +0200 Subject: [PATCH] Use LOCALE instead of DEFAULT_LANG to set og:locale DEFAULT_LANG value is 'en' while og:locale format is 'en_US' which is the value of LOCALE as well. LOCALE is a list though! --- templates/base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index f4e302f..d20009d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -68,7 +68,9 @@ {% endblock head %} {% block opengraph %} - + {% for LOC in LOCALE %} + + {% endfor %} {% endblock opengraph %}