]> Sergey Matveev's repositories - public-inbox.git/commit
wwwlisting: support global CSS in HTML view
authorEric Wong <e@80x24.org>
Wed, 18 Aug 2021 11:41:02 +0000 (11:41 +0000)
committerEric Wong <e@80x24.org>
Thu, 26 Aug 2021 12:26:53 +0000 (12:26 +0000)
commit26c635060dcae35feae836b02a18a6a11e408312
tree8677abea13ea58af2d811f8c4e43e39f4bc950f4
parent21af30073e105a118d058add76e42e2819213858
wwwlisting: support global CSS in HTML view

Since CSS can be overridden by a static webserver on a per-inbox
basis, we need a similar pattern to deal with the instance-wide
WwwListing HTML.  "/+/" probably won't conflict with any current
nor future public inbox names.

I don't think it'll cause problems with common linkifiers or URL
extractors, either (and it's unlikely anybody would want to
share URLs of just the CSS in a plain text(-like) format).
lib/PublicInbox/WWW.pm
lib/PublicInbox/WwwListing.pm