Skip to content

Commit

Permalink
epub, epub3: Added id="cover" to body of titlepage.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm authored and ivotron committed Jun 2, 2015
1 parent f5c1f3f commit d953833
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion default.epub
Expand Up @@ -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>
Expand All @@ -42,8 +42,11 @@ $endif$
$if(rights)$
<p class="rights">$rights$</p>
$endif$
</body>
$else$
<body>
$body$
</body>
$endif$
</body>
</html>
Expand Down
6 changes: 4 additions & 2 deletions default.epub3
Expand Up @@ -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)$
Expand Down Expand Up @@ -48,9 +48,11 @@ $if(rights)$
<p class="rights">$rights$</p>
$endif$
</section>
</body>
$else$
<body>
$body$
$endif$
</body>
$endif$
</html>

0 comments on commit d953833

Please sign in to comment.