git.iko.soy/typeable/pandoc
on master help sign in
epub, epub3: Added id="cover" to body of titlepage.
63443daJohn MacFarlane
default.epub+4−1
@@ -15,8 +15,8 @@ $for(css)$
15 <link rel="stylesheet" type="text/css" href="$css$" />
15 <link rel="stylesheet" type="text/css" href="$css$" />
16$endfor$
16$endfor$
17</head>
17</head>
18−<body>
19$if(titlepage)$
18$if(titlepage)$
19+<body id="cover">
20$for(title)$
20$for(title)$
21$if(title.text)$
21$if(title.text)$
22 <h1 class="$title.type$">$title.text$</h1>
22 <h1 class="$title.type$">$title.text$</h1>
@@ -42,8 +42,11 @@ $endif$
42$if(rights)$
42$if(rights)$
43 <p class="rights">$rights$</p>
43 <p class="rights">$rights$</p>
44$endif$
44$endif$
45+</body>
45$else$
46$else$
47+<body>
46$body$
48$body$
49+</body>
47$endif$
50$endif$
48</body>
51</body>
49</html>
52</html>
default.epub3+4−2
@@ -19,8 +19,8 @@ $for(css)$
19 <link rel="stylesheet" type="text/css" href="$css$" />
19 <link rel="stylesheet" type="text/css" href="$css$" />
20$endfor$
20$endfor$
21</head>
21</head>
22−<body>
23$if(titlepage)$
22$if(titlepage)$
23+<body id="cover">
24<section epub:type="titlepage">
24<section epub:type="titlepage">
25$for(title)$
25$for(title)$
26$if(title.type)$
26$if(title.type)$
@@ -48,9 +48,11 @@ $if(rights)$
48 <p class="rights">$rights$</p>
48 <p class="rights">$rights$</p>
49$endif$
49$endif$
50</section>
50</section>
51+</body>
51$else$
52$else$
53+<body>
52$body$
54$body$
53−$endif$
54</body>
55</body>
56+$endif$
55</html>
57</html>
56
58