X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/db8f2fd5458cb4138d405b48f8c95fba0b5019d6..9e4974683459036041b339e6576f6d9e2e48edaa:/common.inc.plp diff --git a/common.inc.plp b/common.inc.plp index 6295de7..9d34128 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -157,6 +157,11 @@ sub Html { my ($file) = $ENV{SCRIPT_FILENAME} =~ m{ ([^/]+) \.plp$ }x; + if (my $url = $meta->{canonical} // "/$file/$Request") { + $url = "https://sheet.shiar.nl$url"; + push @{ $meta->{raw} }, qq(); + } + PLP_START { # leading output say '';