]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwListing.pm
wwwlisting: support global CSS in HTML view
[public-inbox.git] / lib / PublicInbox / WwwListing.pm
index 98a69986370539f8e372aa17e04d5647d148471b..a31aa4ca1ba934cd8472c2f8b9fb038f2b126f8f 100644 (file)
@@ -190,9 +190,9 @@ sub psgi_triple {
        my $h = [ 'Content-Type', 'text/html; charset=UTF-8',
                        'Content-Length', undef ];
        my $gzf = gzf_maybe($h, $ctx->{env});
-       $gzf->zmore('<html><head><title>' .
-                               'public-inbox listing</title>' .
-                               '</head><body>');
+       $gzf->zmore('<html><head><title>public-inbox listing</title>' .
+                       $ctx->{www}->style('+/') .
+                       '</head><body>');
        my $code = 404;
        if (my $list = delete $ctx->{-list}) {
                my $mset = delete $ctx->{-mset};