mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 15:05:47 +00:00
epub3: Put title page in section w epub:type titlepage.
This commit is contained in:
+6
-4
@@ -21,16 +21,18 @@ $endfor$
|
||||
</head>
|
||||
<body>
|
||||
$if(titlepage)$
|
||||
<h1 class="title">$title$</h1>
|
||||
<section epub:type="titlepage">
|
||||
<h1 class="title">$title$</h1>
|
||||
$if(subtitle)$
|
||||
<h1 class="subtitle">$subtitle$</h1>
|
||||
<h1 class="subtitle">$subtitle$</h1>
|
||||
$endif$
|
||||
$for(author)$
|
||||
<h2 class="author">$author$</h2>
|
||||
<h2 class="author">$author$</h2>
|
||||
$endfor$
|
||||
$if(date)$
|
||||
<h3 class="date">$date$</h3>
|
||||
<h3 class="date">$date$</h3>
|
||||
$endif$
|
||||
</section>
|
||||
$else$
|
||||
$body$
|
||||
$endif$
|
||||
|
||||
Reference in New Issue
Block a user