Tweak subsection style and page titles

This commit is contained in:
Thomas Karpiniec 2016-01-23 08:51:39 +11:00
parent c1608faec0
commit ef7f2739d4
2 changed files with 9 additions and 0 deletions

View File

@ -126,6 +126,7 @@ function render_with_config_path($config_file) {
$substitutions["{NEXT_TITLE}"] = ""; $substitutions["{NEXT_TITLE}"] = "";
$substitutions["{TOC_URL}"] = "index.html"; $substitutions["{TOC_URL}"] = "index.html";
$substitutions["{TOC_TITLE}"] = "Contents"; $substitutions["{TOC_TITLE}"] = "Contents";
$substitutions["{PAGE_TITLE}"] = $page["title"];
if (isset($config["pages"][$i-1])) { if (isset($config["pages"][$i-1])) {
$prev_page = $config["pages"][$i-1]; $prev_page = $config["pages"][$i-1];

View File

@ -28,6 +28,10 @@ h2 {
font-weight: normal; font-weight: normal;
} }
h3 {
font-weight: normal;
}
div.heading { div.heading {
text-align: center; text-align: center;
} }
@ -101,3 +105,7 @@ hr {
.spacer { .spacer {
height: 1em; height: 1em;
} }
dt {
font-weight: bold;
}