Merge pull request #218 from tarleb/html5-semantical-header
Put only one heading element in top-level header
commitf2b84d021d920f71889adc173c7d3e1ba1e205f3
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 25 Sep 2016, 21:36 (10 years ago)
parent00491f4859acea
default.html5+3−3
@@ -44,13 +44,13 @@ $if(title)$
4444<header>
4545<h1 class="title">$title$</h1>
4646$if(subtitle)$
47−<h1 class="subtitle">$subtitle$</h1>
47+<p class="subtitle">$subtitle$</p>
4848$endif$
4949$for(author)$
50−<h2 class="author">$author$</h2>
50+<p class="author">$author$</p>
5151$endfor$
5252$if(date)$
53−<h3 class="date">$date$</h3>
53+<p class="date">$date$</p>
5454$endif$
5555</header>
5656$endif$