Added subject to title, if available, separated by $html_tsep (mdash by default)
parent
dd870f933c
commit
53f6e4f97e
|
@ -143,7 +143,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 path path_root \
|
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_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
|
# if raw processing was requested, then we are done; pass the torch
|
||||||
test $do_raw && {
|
test $do_raw && {
|
||||||
|
|
|
@ -52,7 +52,7 @@ cat <<EOH
|
||||||
&& printf '<link rel="stylesheet" type="text/css" href="%s" />' \
|
&& printf '<link rel="stylesheet" type="text/css" href="%s" />' \
|
||||||
"$html_external_css"
|
"$html_external_css"
|
||||||
)
|
)
|
||||||
<title>$title</title>
|
<title>$title${subject:+"${html_tsep:-—}$subject"}</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="${html_body_class:-index}">
|
<body class="${html_body_class:-index}">
|
||||||
<header>
|
<header>
|
||||||
|
|
Loading…
Reference in New Issue