swerc

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

commit 10a639b215e35928156e18349e2da0b54223042a
parent 3e74e81bad4e61c8b26b4fddb1a46ddd30dadfbe
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Sat, 10 Jan 2009 04:57:41 +0100

Move top header/title generation for werc.rc to default template.
Diffstat:
Mbin/werc.rc | 5-----
Mlib/default_master.tpl | 2+-
2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/bin/werc.rc b/bin/werc.rc @@ -14,11 +14,6 @@ fn get_lib_file { echo -n lib/$1 } -# Title -fn gentitle { - echo '<h1 class="headerTitle"><a href="/">' ^ $"siteTitle ^ ' <span id="headerSubTitle">' ^ $"siteSubTitle ^ '</span></a></h1>' -} - # Don't change var name or trailing ';', dirfilter might be changed from _werc/config! # ls -F style input of the form: $sitedir/path/to/files/ # <ls -F+x><symlink hack><Useless?><hiden files > diff --git a/lib/default_master.tpl b/lib/default_master.tpl @@ -5,7 +5,7 @@ </div> <div class="midHeader"> -% gentitle + <h1 class="headerTitle"><a href="/">%($"siteTitle%)<span id="headerSubTitle">%( $"siteSubTitle%)</span></a></h1> </div> <div class="subHeader">