[tor-commits] [gettor-web/translations] fix footer and navbar for rtl languages. part of https://gitlab.torproject.org/tpo/anti-censorship/gettor-project/gettor-web/-/issues/3

emmapeel at torproject.org emmapeel at torproject.org
Sat Mar 27 07:47:46 UTC 2021


commit 8d7f848087dac219cc3d15a249bf9c7fe881197e
Author: emma peel <emma.peel at riseup.net>
Date:   Fri Mar 26 13:09:32 2021 +0100

    fix footer and navbar for rtl languages. part of https://gitlab.torproject.org/tpo/anti-censorship/gettor-project/gettor-web/-/issues/3
---
 templates/layout.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/layout.html b/templates/layout.html
index e8db07e..22ce650 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -1,4 +1,5 @@
 <!doctype html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ this.alt }}" {% if bag('alternatives', this.alt, 'direction') == 'text-right' %}dir="rtl" {% endif %}>
 {% include 'meta.html' %}
 <body class="no-gutters">
   <header>





More information about the tor-commits mailing list