unicode: group spaces and dashes
[sheet.git] / index.plp
index 91c5b39232d07a29e996ded26d5dab96827b40ed..22f13df4a9273f1e0220493c3a869949939dec84 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -2,7 +2,7 @@
 
 Html({
        title => 'cheat sheets',
-       version => 'v1.3',
+       version => 'v1.4',
        description => [
                "Cheat sheets summarising various software programs and standards.",
        ],
@@ -49,8 +49,23 @@ but you're free to use, print, alter, and redistribute under the AGPL license.
 <div class="section">
 <h2>Other references</h2>
 <ul>
+<li><a href="/browser">browser support</a>
 <li><a href="/countries">country codes</a>
 <li><a href="/termcol">terminal colours</a>
+<li><a href="/emoji">emoticons</a>
 </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";
+}
+