Selaa lähdekoodia

Linkify latest

Philipp Hagemeister 12 vuotta sitten
vanhempi
sitoutus
c20b2894ff
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -18,7 +18,7 @@ sort($versions);
 $latest = end($versions);
 
 echo '<div class="latest">';
-echo '<div>Latest (v' . htmlspecialchars($latest) . ') downloads:</div>';
+echo '<div><a href="latest">Latest</a> (v' . htmlspecialchars($latest) . ') downloads:</div>';
 echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl">youtube-dl</a> ';
 echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl.exe">youtube-dl.exe</a> ';
 echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl-' . htmlspecialchars($latest) . '.tar.gz">youtube-dl-' . htmlspecialchars($latest) . '.tar.gz</a>';