diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-03-06 22:45:53 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-03-06 22:45:53 +0100 |
commit | a5d7a87e31240969005703af1d14fb3e0273461e (patch) | |
tree | 32eded7a49862f5ea6f6a5feda45cb6ceaa0d9cb | |
parent | c7f7c5b5ab7023859ec8fe86b4024143417f540a (diff) | |
download | gitbook-a5d7a87e31240969005703af1d14fb3e0273461e.zip gitbook-a5d7a87e31240969005703af1d14fb3e0273461e.tar.gz gitbook-a5d7a87e31240969005703af1d14fb3e0273461e.tar.bz2 |
Enable rtl in ebooks
-rw-r--r-- | theme/templates/ebook/layout.html | 2 |
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 }} |