Commit 3050853e authored by Hiro's avatar Hiro 🏄
Browse files

Add source download page

parent b4b59e58
......@@ -15,3 +15,9 @@ version = 0.3.5.8
[tor-alpha]
version = 0.4.0.3-alpha
[tor-win32-stable]
version = 0.2.4.22
[tor-win32-alpha]
version = 0.2.4.23
......@@ -14,10 +14,28 @@
</tr>
</thead>
<tbody>
{% set t = bag('versions', 'tor-stable') %}
{% set a = bag('versions', 'tor-alpha') %}
{% set tw = bag('versions', 'tor-win32-stable') %}
{% set aw = bag('versions', 'tor-win32-alpha') %}
{% for id, item in bag('platforms').items() %}
{% if id == 'windows' %}
{% set download_link = 'https://dist.torproject.org/win32/tor-' + tw.version + '-win32.exe' %}
{% set sig_link = download_link + '.asc' %}
{% set alpha_download_link = 'https://dist.torproject.org/win32/tor-' + aw.version + '-win32.exe' %}
{% set alpha_sig_link = alpha_download_link + '.asc' %}
{% else %}
{% set download_link = 'https://dist.torproject.org/tor-' + t.version + '.tar.gz' %}
{% set sig_link = download_link + '.asc' %}
{% set alpha_download_link = 'https://dist.torproject.org/tor-' + a.version + '.tar.gz' %}
{% set alpha_sig_link = alpha_download_link + '.asc' %}
{% endif %}
<tr>
<td></td>
<td></td>
<td>{{ item.label }}</td>
<td><a href="{{ download_link }}">stable</a> (<a href="{{ sig_link }}">sig</a>)</td>
<td><a href="{{ alpha_download_link }}">alpha</a> (<a href="{{ alpha_sig_link }}">sig</a>)</td>
</tr>
{% endfor %}
</tbody>
</table>
</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