aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.epub5
-rw-r--r--default.epub36
2 files changed, 8 insertions, 3 deletions
diff --git a/default.epub b/default.epub
index 0ac58248f..f2e042830 100644
--- a/default.epub
+++ b/default.epub
@@ -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>
diff --git a/default.epub3 b/default.epub3
index 5e983a21a..6dce74a3a 100644
--- a/default.epub3
+++ b/default.epub3
@@ -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>
+</body>
$else$
+<body>
$body$
-$endif$
</body>
+$endif$
</html>