mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 09:39:44 +00:00
Fix download issue in footer
This commit is contained in:
parent
6e8d6be9f9
commit
dd1655b879
@ -9,7 +9,12 @@
|
||||
<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') %}
|
||||
<a class="btn text-primary bg-white btn-light pull-right mt-2" href="{{ this.url_to(download, alt=this.alt) }}">
|
||||
{% 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) }}">
|
||||
{% endif %}
|
||||
|
||||
{{ _("Download Tor Browser") }}<i class="ml-2 pt-1 fas fa-arrow-down-png-purple"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user