commit 972734e87501f12e1c97bcf840fcce476be20035 Author: hiro hiro@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>
tor-commits@lists.torproject.org