From 53f6e4f97ef8f75495b29e338b493a3404eb689d Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 27 May 2013 16:54:18 -0400 Subject: [PATCH] Added subject to title, if available, separated by $html_tsep (mdash by default) --- repo2html | 2 +- tpl/index | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repo2html b/repo2html index 563ecdd..7b06c88 100755 --- a/repo2html +++ b/repo2html @@ -143,7 +143,7 @@ msgfmt="${msgfmt:-./msgfmt}" # make configuration available to all scripts 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_ext html_pre_index html_body_class + html_ext html_pre_index html_body_class html_tsep # if raw processing was requested, then we are done; pass the torch test $do_raw && { diff --git a/tpl/index b/tpl/index index 3f70134..d09f609 100755 --- a/tpl/index +++ b/tpl/index @@ -52,7 +52,7 @@ cat <' \ "$html_external_css" ) - $title + $title${subject:+"${html_tsep:-—}$subject"}