summaryrefslogtreecommitdiff
path: root/data/templates/default.epub2
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-20 20:52:00 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-20 20:52:00 +0100
commite390d754ef762d85db53a1e1ad978d16c30d68f7 (patch)
tree493ebd1daf8433ccd2a9aeabed233d66586c7f8b /data/templates/default.epub2
parente86e44b98e592d5a5e4c6b43d9b57b195f091ed9 (diff)
parent9e52ac6bb02afd7b4ed5dad61021a1fa33051203 (diff)
Merge commit '9e52ac6bb02afd7b4ed5dad61021a1fa33051203' as 'data/templates'
Diffstat (limited to 'data/templates/default.epub2')
-rw-r--r--data/templates/default.epub259
1 files changed, 59 insertions, 0 deletions
diff --git a/data/templates/default.epub2 b/data/templates/default.epub2
new file mode 100644
index 000000000..afcf96a3e
--- /dev/null
+++ b/data/templates/default.epub2
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ xml:lang="$lang$"$endif$>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Content-Style-Type" content="text/css" />
+ <meta name="generator" content="pandoc" />
+ <title>$pagetitle$</title>
+$if(highlighting-css)$
+ <style type="text/css">
+$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(titlepage)$
+$for(title)$
+$if(title.text)$
+ <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$
+$else$
+$for(include-before)$
+$include-before$
+$endfor$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+$endif$
+</body>
+</html>
+