git.iko.soy/typeable/pandoc
on master help sign in
epub, epub3: Added id="cover" to body of titlepage.

Closes jgm/pandoc#1758.

commit63443da4501728332a6624a1d1b769ef9183436b authorJohn MacFarlane <jgm@berkeley.edu> dateSun 16 Nov 2014, 20:58 (12 years ago) parentec057f0
2 files changed+8−3
default.epub+4−1 default.epub3+4−2
default.epub+4−1
@@ -15,8 +15,8 @@ $for(css)$
1515 <link rel="stylesheet" type="text/css" href="$css$" />
1616$endfor$
1717</head>
18−<body>
1918$if(titlepage)$
19+<body id="cover">
2020$for(title)$
2121$if(title.text)$
2222 <h1 class="$title.type$">$title.text$</h1>
@@ -42,8 +42,11 @@ $endif$
4242$if(rights)$
4343 <p class="rights">$rights$</p>
4444$endif$
45+</body>
4546$else$
47+<body>
4648$body$
49+</body>
4750$endif$
4851</body>
4952</html>
default.epub3+4−2
@@ -19,8 +19,8 @@ $for(css)$
1919 <link rel="stylesheet" type="text/css" href="$css$" />
2020$endfor$
2121</head>
22−<body>
2322$if(titlepage)$
23+<body id="cover">
2424<section epub:type="titlepage">
2525$for(title)$
2626$if(title.type)$
@@ -48,9 +48,11 @@ $if(rights)$
4848 <p class="rights">$rights$</p>
4949$endif$
5050</section>
51+</body>
5152$else$
53+<body>
5254$body$
53−$endif$
5455</body>
56+$endif$
5557</html>
5658