epub, epub3: Added id="cover" to body of titlepage.
Closes jgm/pandoc#1758.
This commit is contained in:
parent
ec057f0ad3
commit
63443da450
2 changed files with 10 additions and 5 deletions
|
@ -15,8 +15,8 @@ $for(css)$
|
|||
<link rel="stylesheet" type="text/css" href="$css$" />
|
||||
$endfor$
|
||||
</head>
|
||||
<body>
|
||||
$if(titlepage)$
|
||||
<body id="cover">
|
||||
$for(title)$
|
||||
$if(title.text)$
|
||||
<h1 class="$title.type$">$title.text$</h1>
|
||||
|
@ -42,8 +42,11 @@ $endif$
|
|||
$if(rights)$
|
||||
<p class="rights">$rights$</p>
|
||||
$endif$
|
||||
</body>
|
||||
$else$
|
||||
<body>
|
||||
$body$
|
||||
</body>
|
||||
$endif$
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -19,8 +19,8 @@ $for(css)$
|
|||
<link rel="stylesheet" type="text/css" href="$css$" />
|
||||
$endfor$
|
||||
</head>
|
||||
<body>
|
||||
$if(titlepage)$
|
||||
<body id="cover">
|
||||
<section epub:type="titlepage">
|
||||
$for(title)$
|
||||
$if(title.type)$
|
||||
|
@ -48,9 +48,11 @@ $if(rights)$
|
|||
<p class="rights">$rights$</p>
|
||||
$endif$
|
||||
</section>
|
||||
$else$
|
||||
$body$
|
||||
$endif$
|
||||
</body>
|
||||
$else$
|
||||
<body>
|
||||
$body$
|
||||
</body>
|
||||
$endif$
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in a new issue