We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dir
html
djangocms_frontend.html
1 parent e5f72b9 commit b3100fcCopy full SHA for b3100fc
djangocms_frontend/templates/djangocms_frontend.html
@@ -1,5 +1,6 @@
1
<!DOCTYPE html>{% load cms_tags menu_tags sekizai_tags static i18n %}{% spaceless %}
2
- <html lang="{{ LANGUAGE_CODE }}">
+ {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
3
+ <html lang="{{ LANGUAGE_CODE|default:"en-us" }}" dir="{{ LANGUAGE_BIDI|yesno:'rtl,ltr,auto' }}">
4
<head>
5
<meta charset="utf-8"/>
6
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
0 commit comments