Commit graph

15 commits

Author SHA1 Message Date
Albert Krewinkel
859acea0b5
Put only one heading element in top-level header
Every heading element semantically creates a new section.  Three
consecutive heading elements, e.g. `<h1></h1>`, `<h2></h2>`,
`<h3></h3>`, are semantically equivallent to a section with two nested
subsections.  This is not the intended meaning of subtitle, author, and
date, making plain `<p>` elements the better choice.  This is one of the
W3C's [common idioms].

This change is the result of discussions on issue jgm/pandoc#3119.

[common idioms]: https://www.w3.org/TR/html5/common-idioms.html#common-idioms

Fixes: jgm/pandoc#3119
2016-09-23 22:04:54 +02:00
Andrew Dunning
f92d725b05 Add keywords to HTML templates. 2015-10-22 18:01:27 -04:00
John MacFarlane
60228b4005 Merge pull request #136 from adunning/title-prefix
Use en dash to separate title-prefix.
2015-10-18 21:50:58 -07:00
Andrew Dunning
4ee7a20dfc Use en dash to separate title-prefix. 2015-10-16 08:48:24 -04:00
Andrew Dunning
a108c1ea17 Move HTML5 Shiv after CSS.
Per usage notes at <https://github.com/aFarkas/html5shiv/blob/master/readme.md>.
2015-10-13 22:30:55 -04:00
Andrew Dunning
d6f2a585bc Add dir variable to HTML5 and update shiv.
Project moved from Google Code to <https://github.com/aFarkas/html5shiv>.
2015-10-13 22:22:38 -04:00
Erik Evenson
7522c43bf7 Adds meta tag to allow scaling by the user. This makes things friendlier for smaller screen sizes. 2013-09-07 22:03:36 -05:00
John MacFarlane
64544dea58 Added subtitle to html and latex formats. 2013-06-21 22:48:49 -07:00
John MacFarlane
25386101d5 HTML5 template: Made quote styles fit on one line. 2013-01-15 18:50:15 -08:00
John MacFarlane
9601cc5026 Added css to preserve space in <code> tags.
Thanks to Dirk Laurie.
2013-01-04 23:01:14 -08:00
John MacFarlane
d99073f1be Removed unnecessary if around pagetitle. 2012-11-02 19:45:52 -07:00
John MacFarlane
cc0e845c18 Default q:quote style for HTML5 template. 2012-03-03 08:27:22 -08:00
John MacFarlane
4594c7eeae Added style tags around highlighting css in html5 template. 2012-02-11 11:48:25 -08:00
John MacFarlane
438c5c3ea8 Use dcterms.date for html5 metadata. 2012-01-28 16:12:10 -08:00
John MacFarlane
727772183d Split html template into html, html5 templates. 2012-01-11 12:52:37 -08:00