Html({
title => 'cheat sheets',
- version => '1.17',
+ canonical => '/',
+ version => '1.18',
description => [
"Cheat sheets summarising various software programs and standards.",
],
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>";
}}
<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>
+<li><a href="/keyboard/altgr">altgr/option</a>
</ul>
</div>