shithub: werc

Download patch

ref: 3becc6544d4b491fd4818b16625ee2c5e8268e91
parent: 0d3467caf06311dc8b827ced870271743ae12763
author: uriel <[email protected]>
date: Mon Jun 18 01:31:14 EDT 2007

Add optional site-local css stylesheet

--- a/inc/headers.tpl
+++ b/inc/headers.tpl
@@ -15,6 +15,9 @@
 
     <link rel="stylesheet" href="/pub/style/style.css" type="text/css" media="screen" title="default" />
     <link rel="stylesheet alternative" type="text/css" href="/pub/style/style_old.css" media="screen" title="Old Style" />
+% if (test -f $sitedir/_style.css) {
+    <link rel="stylesheet" href="/_style.css" type="text/css" media="screen" title="default" />
+% }
     %($extraHeaders%)
 </head>
 <body>