mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-28 15:42:25 +00:00
Change HTML lang according to page lang
This commit is contained in:
parent
6287863bf6
commit
ae6ae4a151
1 changed files with 2 additions and 1 deletions
|
@ -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 %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
|
||||
<head prefix="og: http://ogp.me/ns#">
|
||||
{# Open Graph for social media #}
|
||||
<meta property="og:title" content="{{ name_website }}" />
|
||||
|
|
Loading…
Reference in a new issue