swerc

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

commit 0e4a279923960bc6088f890d191d62ac9e32da64
parent 90f762ab598ba27d009e8ce660c009bcd05af514
Author: anselm@garbe.us <unknown>
Date:   Sat, 24 Mar 2012 16:12:42 +0100

fixed some title generations
Diffstat:
Mbin/werc.rc | 4++--
Mpub/style.css | 3++-
Mtpl/master.tpl | 2+-
3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/bin/werc.rc b/bin/werc.rc @@ -102,9 +102,9 @@ fn werc_exec_request { # XXX Is this never true? because we set pageTitle earlier based on url. if(~ $"pageTitle '') - pageTitle=$"siteTitle' '$"siteSubTitle + pageTitle=$"siteTitle' '$"siteSubtitle if not - pageTitle=$"pageTitle' | '$"siteTitle' '$"siteSubTitle + pageTitle=$"pageTitle' | '$"siteTitle' '$"siteSubtitle for(h in $extraHttpHeaders) echo $h diff --git a/pub/style.css b/pub/style.css @@ -34,6 +34,7 @@ a:hover { #menu a.thisSite { font-weight: bold; + font-style: italic; } #header { @@ -69,7 +70,7 @@ h4 { font-size: 1.1em; } -#headerSubTitle { +#headerSubtitle { font-size: 0.75em; font-style: italic; margin-left: 1em; diff --git a/tpl/master.tpl b/tpl/master.tpl @@ -7,7 +7,7 @@ </head> <body> <div id="header"> - <a href="http://suckless.org/">suckless.org</a> <span id="headerSubTitle">%($"siteTitle%)</span> + <a href="/">%($"siteTitle%)</a> <span id="headerSubtitle">%($"siteSubtitle%)</span> </div> <div id="menu">