[tor-commits] [tpo/master] Add download link for tor source

hiro at torproject.org hiro at torproject.org
Wed Mar 27 17:13:16 UTC 2019


commit 0b2527402325b4aed8c1bdc0b1daa1eb2853e193
Author: hiro <hiro at torproject.org>
Date:   Wed Mar 27 18:13:11 2019 +0100

    Add download link for tor source
---
 databags/versions.ini        | 2 +-
 templates/hero-download.html | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/databags/versions.ini b/databags/versions.ini
index cbb9a5c..cbba14e 100644
--- a/databags/versions.ini
+++ b/databags/versions.ini
@@ -11,7 +11,7 @@ release_date = 2019-03-25
 version = maint-8.0
 
 [tor-stable]
-version = 0.3.5.7
+version = 0.3.5.8
 
 [tor-alpha]
 version = 0.4.0.1-alpha
diff --git a/templates/hero-download.html b/templates/hero-download.html
index 6f31fd0..90980e5 100644
--- a/templates/hero-download.html
+++ b/templates/hero-download.html
@@ -37,6 +37,9 @@
 <div class="row p-5">
   <a class="mx-auto text-white py-3" href="{{ 'languages'|url(alt=this.alt) }}"><u>{{ _('Download in another language') }}</u></a>
   <a class="mx-auto text-white py-3" href="{{ 'alpha'|url(alt=this.alt) }}"><u>{{ _('Advanced Install Options') }}</u></a>
+  {% set v = bag('versions', 'tor-stable') %}
+  {% set download_source = 'https://dist.torproject.org/tor-' + v.version + '.tar.gz' %}
+  <a class="mx-auto text-white py-3" href="{{ download_source }}"><u>{{ _('Download Source Tarball') }}</u></a>
 </div>
 <div class="hidden-sm row p-5 justify-content-center window-bg">
   <a class="mx-auto text-white text-center py-5" href="https://blog.torproject.org/category/tags/tor-browser"><u>{{ _('Read the latest release announcements') }}</u></a>



More information about the tor-commits mailing list