[tor-commits] [lego/master] Set download

hiro at torproject.org hiro at torproject.org
Tue Jun 25 13:39:30 UTC 2019


commit ac4ebcb14729e17b51e31de6535609937bfaa038
Author: hiro <hiro at torproject.org>
Date:   Tue Jun 25 15:39:26 2019 +0200

    Set download
---
 templates/navbar.html | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/templates/navbar.html b/templates/navbar.html
index 0e7287d..928cf99 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -54,12 +54,6 @@
         </div>
       </div>
       {% set download = site.get('/download') %}
-      {% if download %}
-        <div class="pull-right">
-          <a class="btn btn-outline-light pull-right" href="{{ this.url_to(download)|url(alt=this.alt) }}">
-            {{ _("Download Tor Browser") }}<i class="ml-2 pt-1 fas fa-arrow-down-png"></i>
-          </a>
-        </div>
-      {% endif %}
+      {{ download }}
   </nav>
 </div>



More information about the tor-commits mailing list