Commit cedcbdbe authored by Hiro's avatar Hiro 🏄
Browse files

Localize download link

parent 170cacac
......@@ -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') %}
<a class="btn text-primary bg-white btn-light pull-right mt-2" href="{{ this.url_to(download) }}">
<a class="btn text-primary bg-white btn-light pull-right mt-2" href="{{ this.url_to(download)|url(alt=this.alt) }}">
{{ _("Download Tor Browser") }}<span class="oi oi-arrow-bottom ml-2 p-1" title="icon arrow-bottom" aria-hidden="true"></span>
</a>
</div>
......
......@@ -54,7 +54,7 @@
</div>
{% set download = site.get('/download') %}
<div class="col-lg-2 col-12">
<a class="btn btn-outline-light pull-right btn-block" href="{{ this.url_to(download) }}">
<a class="btn btn-outline-light pull-right" href="{{ this.url_to(download)|url(alt=this.alt) }}">
{{ _("Download Tor Browser") }}<span class="oi oi-arrow-bottom ml-2 p-1" title="icon arrow-bottom" aria-hidden="true"></span>
</a>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment