From a94e1cb223adeb4be7a4caa7f6e98a2967a7382b Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 20 May 2013 06:35:15 -0400 Subject: [PATCH] Added html_index_footer, renamed {commit_html,html_commit}_footer --- repo2html | 2 +- tpl/commit | 4 ++-- tpl/index | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/repo2html b/repo2html index 3c3251f..c2895c9 100755 --- a/repo2html +++ b/repo2html @@ -119,7 +119,7 @@ msgfmt="${msgfmt:-./msgfmt}" # make configuration available to all scripts 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 # we offer a flag that opts out of reprocessing previously processed commits) diff --git a/tpl/commit b/tpl/commit index 6ec442d..d87d116 100755 --- a/tpl/commit +++ b/tpl/commit @@ -34,8 +34,8 @@ cat <%s' "$html_footer" ) - $( [ -n "$commit_html_footer" ] \ - && printf '' "$commit_html_footer" + $( [ -n "$html_commit_footer" ] \ + && printf '' "$html_commit_footer" ) ' "$html_footer" ) + $( [ -n "$html_index_footer" ] \ + && printf '' "$html_index_footer" + )
Copyright © $yearrange $copyright
Last Updated: $( ./tsdate "$lastts" '%F %H:%M:%S' )
$lasthash