changeset 246:9f8342192454

epub templates: insert id="cover" in body of cover page. We check for the coverpage variable.
author John MacFarlane <fiddlosopher@gmail.com>
date Mon, 17 Nov 2014 15:42:00 -0800
parents 87ef51136ac6
children 139529f70d10 cbb303cf6572
files default.epub default.epub3
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/default.epub	Mon Nov 17 15:35:09 2014 -0800
+++ b/default.epub	Mon Nov 17 15:42:00 2014 -0800
@@ -15,7 +15,7 @@
   <link rel="stylesheet" type="text/css" href="$css$" />
 $endfor$
 </head>
-<body>
+<body$if(coverpage)$ id="cover"$endif$>
 $if(titlepage)$
 $for(title)$
 $if(title.text)$
--- a/default.epub3	Mon Nov 17 15:35:09 2014 -0800
+++ b/default.epub3	Mon Nov 17 15:42:00 2014 -0800
@@ -19,7 +19,7 @@
   <link rel="stylesheet" type="text/css" href="$css$" />
 $endfor$
 </head>
-<body>
+<body$if(coverpage)$ id="cover"$endif$>
 $if(titlepage)$
 <section epub:type="titlepage">
 $for(title)$