ref: 6fdcbd3ab200b937449e2781e27077a1a3ae5720
parent: a1da6cc55a75db8d780920e7af591a7e2dd731ff
author: uriel <uriel@engel.se.cat-v.org>
date: Fri Jan 9 23:57:41 EST 2009
Move top header/title generation for werc.rc to default template.
--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -14,11 +14,6 @@
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 >
--- 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">