Added html_index_footer, renamed {commit_html,html_commit}_footer
parent
e7f7e3cc01
commit
a94e1cb223
|
@ -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)
|
||||||
|
|
|
@ -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">
|
||||||
|
|
|
@ -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 © $yearrange $copyright</div>
|
<div>Copyright © $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>
|
||||||
|
|
Loading…
Reference in New Issue