git.iko.soy/typeable/pandoc
on master help sign in
Revert "epub, epub3: Added id="cover" to body of titlepage."
eac006eJohn MacFarlane
default.epub+1−4
@@ -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>
18$if(titlepage)$
19$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,11 +42,8 @@ $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>
46$else$
45$else$
47−<body>
48$body$
46$body$
49−</body>
50$endif$
47$endif$
51</body>
48</body>
52</html>
49</html>
default.epub3+2−4
@@ -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>
22$if(titlepage)$
23$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,11 +48,9 @@ $if(rights)$
48 <p class="rights">$rights$</p>
48 <p class="rights">$rights$</p>
49$endif$
49$endif$
50</section>
50</section>
51−</body>
52$else$
51$else$
53−<body>
54$body$
52$body$
55−</body>
56$endif$
53$endif$
54+</body>
57</html>
55</html>
58
56