Move top header/title generation for werc.rc to default template.
This commit is contained in:
parent
86ba2b9392
commit
65598e15d1
@ -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 >
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user