File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
{% load i18n static wagtailcore_tags wagtailimages_tags navigation_tags util_tags hijack cookieconsent_tags %}<!doctype html>
2
2
{% wagtail_site as current_site %}
3
3
{% get_current_language as LANGUAGE_CODE %}
4
- < html class ="no-js " lang ="{{ LANGUAGE_CODE }} ">
4
+ {% get_current_language_bidi as LANGUAGE_BIDI %}
5
+ < html class ="no-js " lang ="{{ LANGUAGE_CODE }} " dir ="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %} ">
5
6
< head >
6
7
{# TODO fallbacks if page is not defined e.g. for 404 page #}
7
8
< meta charset ="utf-8 ">
Original file line number Diff line number Diff line change 1
1
{% load static cache wagtailcore_tags wagtailimages_tags navigation_tags util_tags cookieconsent_tags i18n %}<!doctype html>
2
2
{% wagtail_site as current_site %}
3
3
{% get_current_language as LANGUAGE_CODE %}
4
- < html class ="no-js " lang ="{{ LANGUAGE_CODE }} ">
4
+ {% get_current_language_bidi as LANGUAGE_BIDI %}
5
+ < html class ="no-js " lang ="{{ LANGUAGE_CODE }} " dir ="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %} ">
5
6
< head >
6
7
{# TODO fallbacks if page is not defined e.g. for 404 page #}
7
8
< meta charset ="utf-8 ">
You can’t perform that action at this time.
0 commit comments