[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tpo/staging] Use relative links in home button and locale



commit 972734e87501f12e1c97bcf840fcce476be20035
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Mon Mar 25 18:32:16 2019 +0100

    Use relative links in home button and locale
---
 templates/navbar.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index d7e1844..9b708eb 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -5,7 +5,7 @@
 <div class="container bg-dark">
   <nav class="navbar no-background navbar-expand-lg navbar-dark fixed-top bg-dark p-4">
 {% endif %}
-    <a class="navbar-brand" href="/">
+    <a class="navbar-brand" href="{{ '/'|url(alt=this.alt) }}">
       <img alt="{{ 'The Tor Project' }}" src="{{ '/static/images/tor-logo.svg'|asseturl }}" >
       <span class="sr-only">Tor Logo</span>
     </a>

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits