diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-09-25 21:36:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-25 21:36:09 +0200 |
commit | f2b84d021d920f71889adc173c7d3e1ba1e205f3 (patch) | |
tree | 281ee4bf18e913c3a08c58876c01df14f8be44f0 | |
parent | 00491f422b604787cfef076ddd9cae9f07d06606 (diff) | |
parent | 859acea0b5726f9b1b57856fd2e023e2180130be (diff) | |
download | pandoc-f2b84d021d920f71889adc173c7d3e1ba1e205f3.tar.gz |
Merge pull request #218 from tarleb/html5-semantical-header
Put only one heading element in top-level header
-rw-r--r-- | default.html5 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/default.html5 b/default.html5 index 6b1fdb38b..5641ecb80 100644 --- a/default.html5 +++ b/default.html5 @@ -44,13 +44,13 @@ $if(title)$ <header> <h1 class="title">$title$</h1> $if(subtitle)$ -<h1 class="subtitle">$subtitle$</h1> +<p class="subtitle">$subtitle$</p> $endif$ $for(author)$ -<h2 class="author">$author$</h2> +<p class="author">$author$</p> $endfor$ $if(date)$ -<h3 class="date">$date$</h3> +<p class="date">$date$</p> $endif$ </header> $endif$ |