summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2012-10-31 15:09:51 +0100
committerDan McGee <dan@archlinux.org>2012-11-01 08:27:43 -0500
commit1b28881f7ec58f87bc75699b2d906d28837bccb0 (patch)
tree381937b13cee737a94eb160a9485118c247a8b19
parent4122e97f7aa5ebb919c2afc88a3e548a2ab1e2aa (diff)
downloadarchweb-1b28881f7ec58f87bc75699b2d906d28837bccb0.tar.gz
archweb-1b28881f7ec58f87bc75699b2d906d28837bccb0.zip
download.html: Provide a magnet link
Some people prefer these over torrent files, as they're easier to pass than the torrent files themselves. On updates, this only needs the new info hash. The tracker bits are optional, but ensure that the torrent client gets peers more quickly to receive the actual torrent file. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/public/download.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/public/download.html b/templates/public/download.html
index ba4c3282..14e77b6d 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -7,7 +7,7 @@
{% block navbarclass %}anb-download{% endblock %}
{% block content %}
-{% with version="2012.10.06" kernel_version="3.5.5" %}
+{% with version="2012.10.06" kernel_version="3.5.5" torrent_infohash="b4865374f39a2b34f4c9517ec4b532f65094a28d" %}
<div id="arch-downloads" class="box">
<h2>Arch Linux Downloads</h2>
@@ -46,7 +46,8 @@
<em>A web-seed capable client is recommended for fastest download speeds.</em></p>
<ul>
<li><a href="https://www.archlinux.org/iso/{{version}}/archlinux-{{version}}-dual.iso.torrent"
- title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a></li>
+ title="Download for both architectures">Download archlinux-{{version}}-dual.iso.torrent</a>
+ (<a href="magnet:?xt=urn:btih:{{torrent_infohash}}&amp;dn=archlinux-{{version}}-dual.iso&amp;tr=udp://tracker.archlinux.org:6969&amp;tr=http://tracker.archlinux.org:6969/announce">Magnet</a>)</li>
</ul>
<h3>Netboot</h3>