Revert "epub, epub3: Added id="cover" to body of titlepage."

This reverts commit 63443da450.
This commit is contained in:
John MacFarlane 2014-11-17 15:35:09 -08:00
parent 9655f58e36
commit eac006ec6d
2 changed files with 3 additions and 8 deletions

View file

@ -15,8 +15,8 @@ $for(css)$
<link rel="stylesheet" type="text/css" href="$css$" /> <link rel="stylesheet" type="text/css" href="$css$" />
$endfor$ $endfor$
</head> </head>
<body>
$if(titlepage)$ $if(titlepage)$
<body id="cover">
$for(title)$ $for(title)$
$if(title.text)$ $if(title.text)$
<h1 class="$title.type$">$title.text$</h1> <h1 class="$title.type$">$title.text$</h1>
@ -42,11 +42,8 @@ $endif$
$if(rights)$ $if(rights)$
<p class="rights">$rights$</p> <p class="rights">$rights$</p>
$endif$ $endif$
</body>
$else$ $else$
<body>
$body$ $body$
</body>
$endif$ $endif$
</body> </body>
</html> </html>

View file

@ -19,8 +19,8 @@ $for(css)$
<link rel="stylesheet" type="text/css" href="$css$" /> <link rel="stylesheet" type="text/css" href="$css$" />
$endfor$ $endfor$
</head> </head>
<body>
$if(titlepage)$ $if(titlepage)$
<body id="cover">
<section epub:type="titlepage"> <section epub:type="titlepage">
$for(title)$ $for(title)$
$if(title.type)$ $if(title.type)$
@ -48,11 +48,9 @@ $if(rights)$
<p class="rights">$rights$</p> <p class="rights">$rights$</p>
$endif$ $endif$
</section> </section>
</body>
$else$ $else$
<body>
$body$ $body$
</body>
$endif$ $endif$
</body>
</html> </html>