aboutsummaryrefslogtreecommitdiff
path: root/source/epub/templates/title-page.html
diff options
context:
space:
mode:
Diffstat (limited to 'source/epub/templates/title-page.html')
-rw-r--r--source/epub/templates/title-page.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/source/epub/templates/title-page.html b/source/epub/templates/title-page.html
new file mode 100644
index 00000000..de0f55f0
--- /dev/null
+++ b/source/epub/templates/title-page.html
@@ -0,0 +1,22 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:py="http://genshi.edgewall.org/">
+<head>
+ <title>${book.title}</title>
+ <style type="text/css">
+.title, .authors {
+ text-align: center;
+}
+span.author {
+ margin: 1em;
+}
+ </style>
+</head>
+<body>
+ <h1 class="title">${book.title}</h1>
+ <h3 class="authors">
+ <py:for each="creator, _ in book.creators">
+ <span class="author">$creator</span>
+ </py:for>
+ </h3>
+</body>
+</html>
bgstack15