1
0
Fork 0

Added html_index_footer, renamed {commit_html,html_commit}_footer

master
Mike Gerwitz 2013-05-20 06:35:15 -04:00
parent e7f7e3cc01
commit a94e1cb223
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
3 changed files with 6 additions and 3 deletions

View File

@ -119,7 +119,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 \ export title desc copyright license msgfmt url_root path_tpl \
html_external_css html_footer commit_html_footer html_external_css html_footer html_index_footer html_commit_footer
# 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

@ -34,8 +34,8 @@ cat <<EOF
$( [ -n "$html_footer" ] \ $( [ -n "$html_footer" ] \
&& printf '<div class="pre-copyright">%s</div>' "$html_footer" && printf '<div class="pre-copyright">%s</div>' "$html_footer"
) )
$( [ -n "$commit_html_footer" ] \ $( [ -n "$html_commit_footer" ] \
&& printf '<div class="pre-copyright">%s</div>' "$commit_html_footer" && printf '<div class="pre-copyright">%s</div>' "$html_commit_footer"
) )
<div id="copyright"> <div id="copyright">

View File

@ -28,6 +28,9 @@ cat <<EOF
$( [ -n "$html_footer" ] \ $( [ -n "$html_footer" ] \
&& printf '<div class="pre-copyright">%s</div>' "$html_footer" && printf '<div class="pre-copyright">%s</div>' "$html_footer"
) )
$( [ -n "$html_index_footer" ] \
&& printf '<div class="pre-copyright">%s</div>' "$html_index_footer"
)
<div>Copyright &copy; $yearrange $copyright</div> <div>Copyright &copy; $yearrange $copyright</div>
<div>Last Updated: $( ./tsdate "$lastts" '%F %H:%M:%S' )</div> <div>Last Updated: $( ./tsdate "$lastts" '%F %H:%M:%S' )</div>
<div class="commit-id">$lasthash</div> <div class="commit-id">$lasthash</div>