Added html_head env var to templates
parent
110e557293
commit
2ff9b89452
|
@ -148,7 +148,8 @@ msgfmt="${msgfmt:-$default}"
|
||||||
# make configuration available to all scripts
|
# make configuration available to all scripts
|
||||||
export title desc copyright license msgfmt url_root path_tpl path \
|
export title desc copyright license msgfmt url_root path_tpl path \
|
||||||
html_external_css html_footer html_index_footer html_commit_footer \
|
html_external_css html_footer html_index_footer html_commit_footer \
|
||||||
html_pre_index html_body_class html_tsep repo_url repo_commit_url
|
html_pre_index html_body_class html_tsep html_head repo_url \
|
||||||
|
repo_commit_url
|
||||||
|
|
||||||
# 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 && {
|
||||||
|
|
|
@ -36,7 +36,7 @@ cat <<EOF
|
||||||
p.ref { margin: 0.25em 0em; }
|
p.ref { margin: 0.25em 0em; }
|
||||||
$commit_html_inline_css
|
$commit_html_inline_css
|
||||||
</style>
|
</style>
|
||||||
$commit_html_head
|
$html_head
|
||||||
</head>
|
</head>
|
||||||
<body class="${html_body_class:-commit}">
|
<body class="${html_body_class:-commit}">
|
||||||
<article>
|
<article>
|
||||||
|
|
|
@ -53,6 +53,7 @@ cat <<EOH
|
||||||
"$html_external_css"
|
"$html_external_css"
|
||||||
)
|
)
|
||||||
<title>$title${subject:+"${html_tsep:-—}$subject"}</title>
|
<title>$title${subject:+"${html_tsep:-—}$subject"}</title>
|
||||||
|
$html_head
|
||||||
</head>
|
</head>
|
||||||
<body class="${html_body_class:-index}">
|
<body class="${html_body_class:-index}">
|
||||||
<header>
|
<header>
|
||||||
|
|
Loading…
Reference in New Issue