swerc

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

commit ee748462e45acd8014093ecdb4d4da86f16e1d8f
parent 471af890951ef2fb7094b26f36e04824582d56a8
Author: uriel@soma <unknown>
Date:   Fri, 13 Feb 2009 02:32:24 +0000

Custom .css styles moved from /_style.css to _werc/pub/style.css
Diffstat:
Mlib/headers.tpl | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/lib/headers.tpl b/lib/headers.tpl @@ -12,18 +12,17 @@ Content-Type: text/html <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="author" content="k" /> -% if (! ~ $#meta_description 0) +% if(! ~ $#meta_description 0) % echo ' <meta name="description" content="'$"meta_description'" />' -% if (! ~ $#meta_keywords 0) +% if(! ~ $#meta_keywords 0) % echo ' <meta name="keywords" content="'$"meta_keywords'" />' <link rel="stylesheet" href="/pub/style/style.css" type="text/css" media="screen, handheld" title="default" /> <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon" /> -% if (test -f $sitedir/_style.css) { - <link rel="stylesheet" href="/_style.css" type="text/css" media="screen" title="default" /> -% } +% if(test -f $sitedir/_werc/pub/style.css) +% echo ' <link rel="stylesheet" href="/_werc/pub/style.css" type="text/css" media="screen" title="default" />' -% h = `{ get_lib_file headers.inc} +% h = `{get_lib_file headers.inc} % if(! ~ $#h 0) % cat $h