Skip to content

Commit

Permalink
fix: Add dir attribute to html tag in djangocms_frontend.html (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sakhawy authored Apr 13, 2024
1 parent e5f72b9 commit b3100fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion djangocms_frontend/templates/djangocms_frontend.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE html>{% load cms_tags menu_tags sekizai_tags static i18n %}{% spaceless %}
<html lang="{{ LANGUAGE_CODE }}">
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" dir="{{ LANGUAGE_BIDI|yesno:'rtl,ltr,auto' }}">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
Expand Down

0 comments on commit b3100fc

Please sign in to comment.