diff options
| author | John MacFarlane <fiddlosopher@gmail.com> | 2014-11-17 15:42:00 -0800 |
|---|---|---|
| committer | John MacFarlane <fiddlosopher@gmail.com> | 2014-11-17 15:42:00 -0800 |
| commit | c76c6c52249118e49c5dd1b99fe916724350a590 (patch) | |
| tree | 34bf3585cbade72aa461ffa234c2f1605df33c3a | |
| parent | eac006ec6d59046e0daabd318d221e71c227575e (diff) | |
| download | pandoc-c76c6c52249118e49c5dd1b99fe916724350a590.tar.gz | |
epub templates: insert id="cover" in body of cover page.
We check for the coverpage variable.
| -rw-r--r-- | default.epub | 2 | ||||
| -rw-r--r-- | default.epub3 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/default.epub b/default.epub index 0ac58248f..53993af16 100644 --- a/default.epub +++ b/default.epub @@ -15,7 +15,7 @@ $for(css)$ <link rel="stylesheet" type="text/css" href="$css$" /> $endfor$ </head> -<body> +<body$if(coverpage)$ id="cover"$endif$> $if(titlepage)$ $for(title)$ $if(title.text)$ diff --git a/default.epub3 b/default.epub3 index 5e983a21a..aa6ef1a9a 100644 --- a/default.epub3 +++ b/default.epub3 @@ -19,7 +19,7 @@ $for(css)$ <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)$ |
