Move top header/title generation for werc.rc to default template.

This commit is contained in:
uriel 2009-01-10 04:57:41 +01:00
parent 86ba2b9392
commit 65598e15d1
2 changed files with 1 additions and 6 deletions

View File

@ -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 >

View File

@ -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">