@@ -21,18 +21,33 @@ $endfor$
2121</head>
2222<body>
2323$if(titlepage)$
24− <section epub:type="titlepage">
25− <h1 class="title">$title$</h1>
24+<section epub:type="titlepage">
25+$for(title)$
26+$if(title.type)$
27+ <h1 class="$title.type$">$title.text$</h1>
28+$else$
29+ <h1 class="title">$title$</h1>
30+$endif$
31+$endfor$
2632$if(subtitle)$
27− <h1 class="subtitle">$subtitle$</h1>
33+ <h1 class="subtitle">$subtitle$</h1>
2834$endif$
2935$for(author)$
30− <h2 class="author">$author$</h2>
36+ <h2 class="author">$author$</h2>
3137$endfor$
38+$for(creator)$
39+ <h2 class="$creator.type$">$creator.text$</h2>
40+$endfor$
41+$if(publisher)$
42+ <p class="publisher">$publisher$</p>
43+$endif$
3244$if(date)$
33− <h3 class="date">$date$</h3>
45+ <p class="date">$date$</p>
46+$endif$
47+$if(rights)$
48+ <p class="rights">$rights$</p>
3449$endif$
35− </section>
50+</section>
3651$else$
3752$body$
3853$endif$