aboutsummaryrefslogtreecommitdiff
path: root/default.epub3
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-16 20:58:17 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-16 20:58:17 -0800
commit63443da4501728332a6624a1d1b769ef9183436b (patch)
tree2d7e2f3d0e802c5fc2df5ff0d74ea9bed30e9723 /default.epub3
parentec057f0ad3d191d18a2842e6a2fd41c471c6d97d (diff)
downloadpandoc-63443da4501728332a6624a1d1b769ef9183436b.tar.gz
epub, epub3: Added id="cover" to body of titlepage.
Closes jgm/pandoc#1758.
Diffstat (limited to 'default.epub3')
-rw-r--r--default.epub36
1 files changed, 4 insertions, 2 deletions
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>