Commit ff25ee11 authored by erdnaxe's avatar erdnaxe 🎇

Change HTML lang automatically

parent 26ffffe3
......@@ -2,7 +2,8 @@
{% load i18n %}
<!doctype html>
<html lang="fr">
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment