X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/cf044fdd2d568779b3fcd0798620d834bb6466fe..40575fa484663def379178642270af334291f385:/index.plp diff --git a/index.plp b/index.plp index 8ce5b8c..6909025 100644 --- a/index.plp +++ b/index.plp @@ -2,6 +2,7 @@ Html({ title => 'cheat sheets', + 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// and $date .= ''; - $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 "

Last update: $date $subject

"; }}