diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-08-12 17:05:37 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-08-12 17:06:11 -0700 |
commit | 095196e8d6e873ee36846ca120bf5dfd39e30a8c (patch) | |
tree | 177caf34b82ead029c2249b612be351376ee968c | |
parent | 3befef257ce461ae68760004df938f3ca8397b31 (diff) | |
download | pandoc-095196e8d6e873ee36846ca120bf5dfd39e30a8c.tar.gz |
epub3: Put title page in section w epub:type titlepage.
-rw-r--r-- | default.epub3 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/default.epub3 b/default.epub3 index 57f090b6a..6e38b4c77 100644 --- a/default.epub3 +++ b/default.epub3 @@ -21,16 +21,18 @@ $endfor$ </head> <body> $if(titlepage)$ - <h1 class="title">$title$</h1> + <section epub:type="titlepage"> + <h1 class="title">$title$</h1> $if(subtitle)$ - <h1 class="subtitle">$subtitle$</h1> + <h1 class="subtitle">$subtitle$</h1> $endif$ $for(author)$ - <h2 class="author">$author$</h2> + <h2 class="author">$author$</h2> $endfor$ $if(date)$ - <h3 class="date">$date$</h3> + <h3 class="date">$date$</h3> $endif$ + </section> $else$ $body$ $endif$ |