commit b78689989cb5f39c9fdd672fd0eea21461a5708f Author: hiro hiro@torproject.org Date: Tue Jun 25 15:53:29 2019 +0200
Fix download issue in footer and navbar --- templates/navbar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/navbar.html b/templates/navbar.html index 4ed16ff..ca26027 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -55,7 +55,7 @@ </div> {% set download = site.get('/download') %} <div class="pull-right"> - {% if download == 'None' %} + {% if download == None %} <a class="btn btn-outline-light pull-right" href="https://www.torproject.org/download/"> {% else %} <a class="btn btn-outline-light pull-right" href="{{ this.url_to(download)|url(alt=this.alt) }}">
tor-commits@lists.torproject.org