commit c730094cffc998dfbae933e980925f0ec4370674 Author: hiro hiro@torproject.org Date: Tue Jun 25 15:59:25 2019 +0200
Fix download issue in footer and navbar --- templates/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/footer.html b/templates/footer.html index bff7f34..e42f109 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -9,7 +9,7 @@ <h2 class="text-white text-bold">{{ _('Download Tor Browser') }}</h2> <p class="text-white">{{ _('Download Tor Browser to experience real private browsing without tracking, surveillance, or censorship.') }}</p> {% set download = site.get('/download') %} - {% if download == 'None' %} + {% if download == None %} <a class="btn text-primary bg-white btn-light pull-right mt-2" href="https://www.torproject.org/download/"> {% else %} <a class="btn text-primary bg-white btn-light pull-right mt-2" href="{{ this.url_to(download, alt=this.alt) }}">