common: separate javascript include to set styles
[sheet.git] / sample.plp
index 12460ec14e7db44624436747056a16bb6b4bc697..f7d06c9bcf97b32cb40f2284c3d28f4c2a44a4be 100644 (file)
@@ -1,15 +1,12 @@
 <(common.inc.plp)><:
 
 my $textinc = 'sample.txt';
-my $proto = sprintf('http%s://', !!$ENV{HTTPS} && 's');
-my $preview = "$proto$ENV{HTTP_HOST}/sample.png";
 
 Html({
        title => "unicode sampler",
        version => '2.1',
-       stylesheet => [qw'light dark mono red'],
        data => [$textinc],
-       raw => qq(<meta property="og:image" content="$preview" />),
+       image => 'sample.png',
 });
 
 open my $source, '<', $textinc