aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. B. Rainsberger <me@jbrains.ca>2018-09-10 13:45:11 -0230
committerJohn MacFarlane <jgm@berkeley.edu>2018-09-10 09:15:11 -0700
commit7b52d43877d0351dcf0fd645127867a43978bc08 (patch)
treed4d1d81d30baa5c61585f69fa66d0a97f2c827ca
parent1b9dd3e06b73a5297e5641c528c5c4bf55d94793 (diff)
downloadpandoc-7b52d43877d0351dcf0fd645127867a43978bc08.tar.gz
Make HTML5 header easier to style precisely in default template (#4767)
Add the `title-block-header` identifier to the `header` element, to make it easier to style precisely.
-rw-r--r--data/templates/default.html52
-rw-r--r--test/writer.html52
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/default.html5 b/data/templates/default.html5
index 9c15107c0..c2bf0e093 100644
--- a/data/templates/default.html5
+++ b/data/templates/default.html5
@@ -46,7 +46,7 @@ $for(include-before)$
$include-before$
$endfor$
$if(title)$
-<header>
+<header id="title-block-header">
<h1 class="title">$title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
diff --git a/test/writer.html5 b/test/writer.html5
index 53fcb84e2..4f80231db 100644
--- a/test/writer.html5
+++ b/test/writer.html5
@@ -19,7 +19,7 @@
<![endif]-->
</head>
<body>
-<header>
+<header id="title-block-header">
<h1 class="title">Pandoc Test Suite</h1>
<p class="author">John MacFarlane</p>
<p class="author">Anonymous</p>