keyboard/altgr: msx-graph mode counterpart to msx code
[sheet.git] / index.plp
index 70b674475e790bf87c0f3e5047eb965bf9a96219..690902542701d9eb01aea324ef1fc840ea901cfe 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -2,7 +2,8 @@
 
 Html({
        title => 'cheat sheets',
-       version => '1.15',
+       canonical => '/',
+       version => '1.17',
        description => [
                "Cheat sheets summarising various software programs and standards.",
        ],
@@ -34,7 +35,9 @@ if (open my $log, '<', 'UPDATE') {{
        EscapeHTML $line;
        my ($date, $subject) = split /[\t\n]/, $line;
        $date =~ s/ \K/<small>/ and $date .= '</small>';
-       $subject =~ s{\A(\w+)(?=: )}{showlink($1, -e "$1.plp" && "/$1")}e;
+       $subject =~ s{\A (\w+) (?= (?:/\w+)* :\h )}{
+               showlink($1, -e "$1.plp" && "/$1");
+       }ex;
        say "<p><strong>Last update</strong>: $date $subject</p>";
 }}
 
@@ -51,6 +54,8 @@ if (open my $log, '<', 'UPDATE') {{
 <li><a href="/mutt">mutt</a>
 <li><a href="/nethack">nethack</a>
 <li><a href="/mplayer/mpv">mplayer/mpv</a>
+<li><a href="/keyboard/altgr/windows">altgr</a>
+    <a href="/keyboard/altgr">etc.</a>
 </ul>
 </div>