index: drop latest git commits
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 26 Mar 2012 19:48:44 +0000 (21:48 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 10 Apr 2012 01:03:24 +0000 (03:03 +0200)
Clutters the main page too much, and gitweb is linked from every page.

index.plp

index 1aaf0f6ec346ff4d17f289c182ab33edd4be51b9..904edd9c12c6ec0dfc907a472b524f3e3415a7f5 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -58,16 +58,3 @@ but you're free to use, print, alter, and redistribute under the AGPL license.
 </ul>
 </div>
 
-<:
-if (open my $log, '-|', 'git log -20 --since=2\ week\ ago --pretty=%ai%x00%s%x00%h') {
-       print "<h1>Recent updates</h1>\n\n";
-       print "<dl>\n";
-       while (readline $log) {
-               chomp;
-               my ($date, $subject, $commit) = split /\0/, $_;
-               $date =~ s{( .+)}{<small>$1</small>};
-               printf '<dt>%s</dt><dd>%s</dd>'."\n", $date, $subject;
-       }
-       print "</dl>\n\n";
-}
-