epub templates: insert id="cover" in body of cover page.

We check for the coverpage variable.
This commit is contained in:
John MacFarlane 2014-11-17 15:42:00 -08:00
parent eac006ec6d
commit c76c6c5224
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ $for(css)$
<link rel="stylesheet" type="text/css" href="$css$" /> <link rel="stylesheet" type="text/css" href="$css$" />
$endfor$ $endfor$
</head> </head>
<body> <body$if(coverpage)$ id="cover"$endif$>
$if(titlepage)$ $if(titlepage)$
$for(title)$ $for(title)$
$if(title.text)$ $if(title.text)$

View file

@ -19,7 +19,7 @@ $for(css)$
<link rel="stylesheet" type="text/css" href="$css$" /> <link rel="stylesheet" type="text/css" href="$css$" />
$endfor$ $endfor$
</head> </head>
<body> <body$if(coverpage)$ id="cover"$endif$>
$if(titlepage)$ $if(titlepage)$
<section epub:type="titlepage"> <section epub:type="titlepage">
$for(title)$ $for(title)$