X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/bfe63cd04550099c5711e4412b033f9dec76a27f..1d4192ba208911f914e0c6fefaf9a15946d12c98:/dieren.plp diff --git a/dieren.plp b/dieren.plp index d9833b2..f7935fe 100644 --- a/dieren.plp +++ b/dieren.plp @@ -32,6 +32,9 @@ $Request ||= 'standaard'; my $pageinfo = $subpages{$Request} or Html(), Abort("Onbekende dierenpagina $Request", '404 request not found'); +my $proto = sprintf('http%s://', !!$ENV{HTTPS} && 's'); +my $preview = "$proto$ENV{HTTP_HOST}/dieren.jpg"; + Html({ title => $pageinfo->{title}.' cheat sheet', version => '1.1', @@ -42,7 +45,8 @@ Html({ relatie vernoemd vernoeming combinatie samenstelling voorvoegsel onverwant land zee lucht animals dutch language '], - raw => <<'EOT', + raw => <<"EOT", +