X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/c220aefcb516eca666444356555d21599f1e3a87..352e92112d4f6e464363f1722e1998247c03d0be:/index.plp diff --git a/index.plp b/index.plp index 53cec89..8baf901 100644 --- a/index.plp +++ b/index.plp @@ -9,7 +9,6 @@ Html({ keywords => [qw' sheet cheat reference software overview summary help keyboard map unicode '], - stylesheet => [qw'light dark red'], }); :> @@ -25,7 +24,8 @@ but you're free to use, print, alter, and redistribute under the AGPL license. <: my @format = ('--date=short', "--pretty=%ad (%ar)\t%s"); if (open my $log, '-|', git => 'log', -1, @format) {{ - my $line = readline $log or next; + my $line = readline $log; + $line or next; # explicitly ignore empty input my ($date, $subject) = split /[\t\n]/, $line; $date =~ s/ \K// and $date .= ''; print "

Last update: $date $subject

\n";