X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b5b60a0ee0f90c2895e1e4e27926840ea29c2be7..f12be29851e838f63640c9cac5f3f6216fc35fd7:/dieren.plp diff --git a/dieren.plp b/dieren.plp index 390643b..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", +