summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theme/templates/ebook/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/ebook/layout.html b/theme/templates/ebook/layout.html
index 1a9c01c..3ca3ef4 100644
--- a/theme/templates/ebook/layout.html
+++ b/theme/templates/ebook/layout.html
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
-<html lang="{{ language }}" {% block htmlTag %}{% endblock %}>
+<html lang="{{ language }}" {% block htmlTag %}{% endblock %} {% if options.direction == "rtl" %}dir="rtl"{% endif %}>
{{ htmlSnippet("html:start")|default("")|safe }}
<head>
{{ htmlSnippet("head:start")|default("")|safe }}