1
0
Fork 0

Added subject to title, if available, separated by $html_tsep (mdash by default)

tpl
Mike Gerwitz 2013-05-27 16:54:18 -04:00
parent dd870f933c
commit 53f6e4f97e
2 changed files with 2 additions and 2 deletions

View File

@ -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 && {

View File

@ -52,7 +52,7 @@ cat <<EOH
&& printf '<link rel="stylesheet" type="text/css" href="%s" />' \
"$html_external_css"
)
<title>$title</title>
<title>$title${subject:+"${html_tsep:-&mdash;}$subject"}</title>
</head>
<body class="${html_body_class:-index}">
<header>