Attempting to make a 6x9 format
[themediocreprogrammer.git] / Pandoc / templates / amazon-epub.html
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ xml:lang="$lang$"$endif$>
4     <head>
5         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6         <meta http-equiv="Content-Style-Type" content="text/css" />
7         <meta name="generator" content="pandoc" />
8         <title>$pagetitle$</title>
9         <link rel="stylesheet" type="text/css" href="$css$" />
10     </head>
11     <body>
12     
13         $if(titlepage)$
14             $for(title)$
15                 $if(title.text)$
16                     <h1 class="uppercase">$title.text$</h1>
17                 $else$
18                     <h1 class="uppercase">$title$</h1>
19                 $endif$
20             $endfor$
21             
22             $if(subtitle)$
23                 <h3><em>$subtitle$</em></h3>
24             $endif$
25             
26             $for(year)$
27                 <h4>© $year$</h4>
28             $endfor$
29             
30             $for(author)$
31                 <h2 class="top-margin">$author$</h2>
32             $endfor$
33             
34             $for(creator)$
35                 <h2>$creator.text$</h2>
36             $endfor$
37         
38             $if(publisher)$
39                 <h4>$publisher$</h4>
40             $endif$
41             
42             $for(book1)$
43                 $if(book1.title)$
44                     <h4 class="top-margin">Also Available</h4>
45                 $endif$
46             $endfor$
47             
48             $for(book1)$$if(book1.link)$
49                 <p class="center"><a href="$book1.link$">$book1.title$</a></p>
50                 $else$
51                 <p class="center">$book1.title$</p>
52                 $endif$
53             $endfor$
54             $for(book2)$$if(book2.link)$
55                 <p class="center"><a href="$book2.link$">$book2.title$</a></p>
56                 $else$
57                 <p class="center">$book2.title$</p>
58                 $endif$
59             $endfor$
60             $for(book3)$$if(book3.link)$
61                 <p class="center"><a href="$book3.link$">$book3.title$</a></p>
62                 $else$
63                 <p class="center">$book3.title$</p>
64                 $endif$
65             $endfor$
66             $for(book4)$$if(book4.link)$
67                 <p class="center"><a href="$book4.link$">$book4.title$</a></p>
68                 $else$
69                 <p class="center">$book4.title$</p>
70                 $endif$
71             $endfor$
72             $for(book5)$$if(book5.link)$
73                 <p class="center"><a href="$book5.link$">$book5.title$</a></p>
74                 $else$
75                 <p class="center">$book5.title$</p>
76                 $endif$
77             $endfor$
78             
79             $if(contributors)$
80             <div class="top-margin">
81             $for(contributors)$
82                 $if(contributors.designer)$
83                     <h6>Book Design: $contributors.designer$</h6>
84                 $endif$
85                 $if(contributors.artist)$
86                     <h6>Cover Artist: $contributors.artist$</h6>
87                 $endif$
88                 $if(contributors.editor)$
89                     <h6>Editor: $contributors.editor$</h6>
90                 $endif$
91             $endfor$
92             </div>
93             $endif$
94             
95         $endif$
96         
97         $body$
98     </body>
99 </html>