summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-03-06 22:32:25 +0100
committerSamy Pessé <samypesse@gmail.com>2015-03-06 22:32:25 +0100
commit55a7b99b4d4b4902bed0d53fb1b219b0c5f4584a (patch)
tree5e33d27f7a61ee33ec1d341755475c7425a79ffe /theme
parent8bfba604b3ae1a51012499d726ea99c6f256035d (diff)
downloadgitbook-55a7b99b4d4b4902bed0d53fb1b219b0c5f4584a.zip
gitbook-55a7b99b4d4b4902bed0d53fb1b219b0c5f4584a.tar.gz
gitbook-55a7b99b4d4b4902bed0d53fb1b219b0c5f4584a.tar.bz2
Fix #227: Add base rtl support for website
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/website/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/website/layout.html b/theme/templates/website/layout.html
index e412c0c..9107de7 100644
--- a/theme/templates/website/layout.html
+++ b/theme/templates/website/layout.html
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
-<html lang="{{ language }}">
+<html lang="{{ language }}" {% if options.direction == "rtl" %}dir="rtl"{% endif %}>
{{ htmlSnippet("html:start")|default("")|safe }}
<head>
{{ htmlSnippet("head:start")|default("")|safe }}