diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-03-09 10:43:12 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-03-09 10:43:12 +0100 |
commit | 34fc2831e0cf0fed01c71cec28d93472d87f455b (patch) | |
tree | a803cc907c20491ba02863b5d3dd5aedf6bfed10 /theme/templates/website/layout.html | |
parent | e1594cde2c32e4ff48f6c4eff3d3d461743d74e1 (diff) | |
parent | 1bf68a5aa0703b5a1815cfe4ebb731b5fb6ed9d2 (diff) | |
download | gitbook-34fc2831e0cf0fed01c71cec28d93472d87f455b.zip gitbook-34fc2831e0cf0fed01c71cec28d93472d87f455b.tar.gz gitbook-34fc2831e0cf0fed01c71cec28d93472d87f455b.tar.bz2 |
Merge branch 'version/2.0'
Diffstat (limited to 'theme/templates/website/layout.html')
-rw-r--r-- | theme/templates/website/layout.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/theme/templates/website/layout.html b/theme/templates/website/layout.html index 5dc7c5e..9107de7 100644 --- a/theme/templates/website/layout.html +++ b/theme/templates/website/layout.html @@ -1,8 +1,8 @@ <!DOCTYPE HTML> -<html lang="en-US" {% block htmlTag %}{% endblock %}> - {{ htmlSnippet("html:start")|default("") }} +<html lang="{{ language }}" {% if options.direction == "rtl" %}dir="rtl"{% endif %}> + {{ htmlSnippet("html:start")|default("")|safe }} <head> - {{ htmlSnippet("head:start")|default("") }} + {{ htmlSnippet("head:start")|default("")|safe }} <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" /> <title>{% block title %}{% endblock %}</title> @@ -19,14 +19,14 @@ <meta name="identifier" content="{{ options.isbn }}" scheme="ISBN"> {% endif %} {% block head %}{% endblock %} - {{ htmlSnippet("head:end")|default("") }} + {{ htmlSnippet("head:end")|default("")|safe }} </head> <body> - {{ htmlSnippet("body:start")|default("") }} + {{ htmlSnippet("body:start")|default("")|safe }} {% block style %}{% endblock %} {% block content %}{% endblock %} {% block javascript %}{% endblock %} - {{ htmlSnippet("body:end")|default("") }} + {{ htmlSnippet("body:end")|default("")|safe }} </body> - {{ htmlSnippet("html:end")|default("") }} + {{ htmlSnippet("html:end")|default("")|safe }} </html> |