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.
commit7b52d43877d0351dcf0fd645127867a43978bc08
authorJ. B. Rainsberger <me@jbrains.ca>
dateMon 10 Sep 2018, 13:45 (8 years ago)
parent1b9dd3e
data/templates/default.html5+1−1
@@ -46,7 +46,7 @@ $for(include-before)$
4646$include-before$
4747$endfor$
4848$if(title)$
49−<header>
49+<header id="title-block-header">
5050<h1 class="title">$title$</h1>
5151$if(subtitle)$
5252<p class="subtitle">$subtitle$</p>
test/writer.html5+1−1
@@ -19,7 +19,7 @@
1919 <![endif]-->
2020</head>
2121<body>
22−<header>
22+<header id="title-block-header">
2323<h1 class="title">Pandoc Test Suite</h1>
2424<p class="author">John MacFarlane</p>
2525<p class="author">Anonymous</p>