git.iko.soy/typeable/pandoc
on master help sign in
epub3: Put title page in section w epub:type titlepage.
commit095196e8d6e873ee36846ca120bf5dfd39e30a8c authorJohn MacFarlane <jgm@berkeley.edu> dateTue 12 Aug 2014, 17:05 (12 years ago) parent3befef2
1 file changed+6−4
default.epub3+6−4
default.epub3+6−4
@@ -21,16 +21,18 @@ $endfor$
2121</head>
2222<body>
2323$if(titlepage)$
24− <h1 class="title">$title$</h1>
24+ <section epub:type="titlepage">
25+ <h1 class="title">$title$</h1>
2526$if(subtitle)$
26− <h1 class="subtitle">$subtitle$</h1>
27+ <h1 class="subtitle">$subtitle$</h1>
2728$endif$
2829$for(author)$
29− <h2 class="author">$author$</h2>
30+ <h2 class="author">$author$</h2>
3031$endfor$
3132$if(date)$
32− <h3 class="date">$date$</h3>
33+ <h3 class="date">$date$</h3>
3334$endif$
35+ </section>
3436$else$
3537$body$
3638$endif$