1
0
Fork 0

Added html_pre_index var for templates

tpl
Mike Gerwitz 2013-05-25 11:10:14 -04:00
parent cde17bbf02
commit 40fb165b53
2 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,7 @@ msgfmt="${msgfmt:-./msgfmt}"
# make configuration available to all scripts # make configuration available to all scripts
export title desc copyright license msgfmt url_root path_tpl path path_root \ export title desc copyright license msgfmt url_root path_tpl path path_root \
html_external_css html_footer html_index_footer html_commit_footer \ html_external_css html_footer html_index_footer html_commit_footer \
html_ext html_ext html_pre_index
# clear the cachefile (TODO: we could maintain cache files from previous runs if # clear the cachefile (TODO: we could maintain cache files from previous runs if
# we offer a flag that opts out of reprocessing previously processed commits) # we offer a flag that opts out of reprocessing previously processed commits)

View File

@ -17,6 +17,7 @@ cat <<EOH
<h1 class="title">$title</h1> <h1 class="title">$title</h1>
<h2 class="desc">$desc</h2> <h2 class="desc">$desc</h2>
</header> </header>
$html_pre_index
EOH EOH
# generate index and populate statistical vars # generate index and populate statistical vars