diff options
Diffstat (limited to 'templates/book.epub')
-rw-r--r-- | templates/book.epub | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/templates/book.epub b/templates/book.epub new file mode 100644 index 0000000..ae658fa --- /dev/null +++ b/templates/book.epub @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"$if(lang)$ xml:lang="$lang$"$endif$> +<head> + <meta charset="utf-8" /> + <meta name="generator" content="pandoc" /> + <title>$pagetitle$</title> +$if(highlighting-css)$ + <style> +$highlighting-css$ + </style> +$endif$ +$for(css)$ + <link rel="stylesheet" type="text/css" href="$css$" /> +$endfor$ +$for(header-includes)$ + $header-includes$ +$endfor$ +</head> +<body$if(coverpage)$ id="cover"$endif$$if(body-type)$ epub:type="$body-type$"$endif$> +$if(titlepage)$ +<section epub:type="titlepage" class="titlepage"> +$for(title)$ +$if(title.type)$ + <h1 class="$title.type$">$title.text$</h1> +$else$ + <h1 class="title">$title$</h1> +$endif$ +$endfor$ +$if(subtitle)$ + <p class="subtitle">$subtitle$</p> +$endif$ +$for(author)$ + <p class="author">$author$</p> +$endfor$ +$for(creator)$ + <p class="$creator.role$">$creator.text$</p> +$endfor$ +$if(publisher)$ + <p class="publisher">$publisher$</p> +$endif$ +$if(date)$ + <p class="date">$date$</p> +$endif$ +$if(rights)$ + <div class="rights">$rights$</div> +$endif$ + +</section> +$if(acknowledgement)$ +<section ebook:type="acknowledgements" class="acknowledgements"> +$acknowledgement$ +</section> +$endif$ +$else$ +$for(include-before)$ +$include-before$ +$endfor$ +$if(toc)$ +<section ebook:type="toc" class="toc"> +$table-of-contents$ +</section> +$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ +$endif$ +</body> +</html> + |