[tor-commits] [lego/master] Fix download issue in footer and navbar

hiro at torproject.org hiro at torproject.org
Tue Jun 25 13:53:32 UTC 2019


commit b78689989cb5f39c9fdd672fd0eea21461a5708f
Author: hiro <hiro at 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) }}">



More information about the tor-commits mailing list