codec: data expiry dependent on subpage type
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 15 May 2022 21:45:23 +0000 (23:45 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 2 Jun 2022 21:57:11 +0000 (23:57 +0200)
Filename changed in commit v1.12-163-ge1c15e98e7 (2021-11-09)
[page request overrides image type].

codec.plp

index 34246950dcc25c7e27d5c01064993d6ad15b6465..5c3e572e1023241ef0cb3cb75f371ff44bbd1683 100644 (file)
--- a/codec.plp
+++ b/codec.plp
@@ -16,7 +16,7 @@ Html({
                image audio video
        '],
        stylesheet => [qw'light circus dark red'],
-       data => [qw'codec.inc.pl'],
+       data => ["codec-$page.inc.pl"],
        raw => '<style>td,th {width:8%} tbody th {white-space:nowrap}</style>',
 });