[tor-commits] [community/staging] support for rtl languages
emmapeel at torproject.org
emmapeel at torproject.org
Mon May 27 13:27:26 UTC 2019
commit 8ace0d336388a3b1d4df1c8d10e0e963c1495a35
Author: emma peel <emma.peel at riseup.net>
Date: Wed Mar 20 10:44:43 2019 +0100
support for rtl languages
---
templates/layout.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/templates/layout.html b/templates/layout.html
index bdc039b..9f0507f 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -1,4 +1,5 @@
<!doctype html>
+<html xmlns="http://www.w3.org/1999/xhtml" {% if bag('alternatives', this.alt, 'direction') == 'text-right' %}dir="rtl"{% endif %}>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ '/static/bootstrap.css'|asseturl }}">
@@ -27,3 +28,4 @@
{% include 'footer.html' %}
</footer>
</body>
+</html>
More information about the tor-commits
mailing list