X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/d1bf245dac9f5a1401ac536b5a19fff9aa39b72f..5299da1556ec4ccf5c93fea0d1c4dcef5f6bb180:/keyboard.plp?ds=sidebyside diff --git a/keyboard.plp b/keyboard.plp index 59e8ad5..a2c2f2e 100644 --- a/keyboard.plp +++ b/keyboard.plp @@ -26,11 +26,13 @@ if ($Request =~ /^altgr/ and open my $cssinc, '<', 'keyboard/altgr.css') { Html({ title => "\L$mode\E keyboard cheat sheet", version => $info->{version} || '0.1', + canonical => -e "$Request.plp" ? "/$Request" : undef, # historic shorthand description => $info->{description} // ["Keyboard cheat sheet for the default controls of $mode."], keywords => [@{ $info->{keywords} // [] }, qw' sheet cheat reference overview keyboard control commands shortkey '], + image => $info->{image}, stylesheet => [qw( light dark circus mono red )], data => ["$include.inc.pl"], raw => \@keystyle, @@ -41,7 +43,7 @@ Html({ '404 request not found', ); -say "

$mode cheat sheet

"; +say "

$mode keyboard

"; say "

$_

" for $info->{intro} // (); say "

", $info->{mode}->{''}, " (default)

" if $info->{mode} and %{ $info->{mode} } > 1;