download/mirrors: drop base href, breaking https site
[grml.org.git] / download / mirrors / index.html.tt2
index 431f84a..d4c8786 100644 (file)
@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-<base href="http://grml.org/">
 <title>grml.org - Download - Mirror List</title>
 <meta name="Title" content="grml.org - Download" />
 <meta name="Author" content="the grml team [www.grml.org/team/]" />
 
             <p><strong>NOTE:</strong> Please visit the <a href="/download/">download webpage</a> if you don't need the full mirror list.</p>
 
-            <h2>Download via bittorrent</h2>
-
-            <p>The torrent URLs are available at <a href="http://grml.deb.at/">grml.deb.at</a>.</p>
-
             <h2>Download via HTTP/FTP</h2>
 
             <p><a href="http://en.wikipedia.org/wiki/Geo_targeting">GeoIP</a>
                [% FOREACH mirror IN mirrors.$region.keys.sort %]
                <p>[% mirror %] ([% mirrors.$region.$mirror.location %])</p>
                [% FOREACH type IN [ 'grml-http' 'grml-rsync' 'grml-ftp' ] %]
+        [% NEXT UNLESS mirrors.$region.$mirror.$type %]
                <ul>
-            <li><a href="[% type.substr(5) %]://[% mirror %][ mirrors.$region.$mirror.$type %]">
-                [% type.substr(5) %]://[% mirror %][% mirrors.$region.$mirror.$type %]
+            <li><a href="[% type.substr(5) %]://[% mirror %]/[% mirrors.$region.$mirror.$type %]">
+                [% type.substr(5) %]://[% mirror %]/[% mirrors.$region.$mirror.$type %]
                 </a>
             </li>
                </ul>