swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit e327cec28f685a1677cfba50b087995c72b38b35
parent 0aa0912527c868590c62651c3a0b7b588034916c
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Mon, 18 Jun 2007 05:31:14 +0200

Add optional site-local css stylesheet
Diffstat:
Minc/headers.tpl | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/inc/headers.tpl b/inc/headers.tpl @@ -15,6 +15,9 @@ Content-Type: text/html <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>