git.iko.soy/typeable/pandoc
on master help sign in
epub3: Put title page in section w epub:type titlepage.
095196eJohn MacFarlane
default.epub3+6−4
@@ -21,16 +21,18 @@ $endfor$
21</head>
21</head>
22<body>
22<body>
23$if(titlepage)$
23$if(titlepage)$
24+ <section epub:type="titlepage">
24− <h1 class="title">$title$</h1>
25+ <h1 class="title">$title$</h1>
25$if(subtitle)$
26$if(subtitle)$
26− <h1 class="subtitle">$subtitle$</h1>
27+ <h1 class="subtitle">$subtitle$</h1>
27$endif$
28$endif$
28$for(author)$
29$for(author)$
29− <h2 class="author">$author$</h2>
30+ <h2 class="author">$author$</h2>
30$endfor$
31$endfor$
31$if(date)$
32$if(date)$
32− <h3 class="date">$date$</h3>
33+ <h3 class="date">$date$</h3>
33$endif$
34$endif$
35+ </section>
34$else$
36$else$
35$body$
37$body$
36$endif$
38$endif$