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

hiro at torproject.org hiro at torproject.org
Mon Mar 29 14:42:06 UTC 2021


commit d806336b11d30893bdbce4b555e2122240ac16d7
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 fd6a115..76871a1 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