[tor-commits] [tpo/master] Use relative links in home button and locale
hiro at torproject.org
hiro at torproject.org
Mon Mar 25 17:32:21 UTC 2019
commit 972734e87501f12e1c97bcf840fcce476be20035
Author: hiro <hiro at torproject.org>
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>
More information about the tor-commits
mailing list