Attempting to make a 6x9 format
[themediocreprogrammer.git] / Pandoc / templates / custom-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                     <p class="center top-margin"><i>Also Available</i></p>
45                     <p>&nbsp;</p>
46                 $endif$
47             $endfor$
48             
49             $for(book1)$
50                 $if(book1.title)$
51                     <p class="center">$book1.title$</p>
52                 $endif$
53             $endfor$
54             
55             $for(book2)$
56                 $if(book2.title)$
57                     <p class="center">$book2.title$</p>
58                 $endif$
59             $endfor$
60             
61             $for(book3)$
62                 $if(book3.title)$
63                     <p class="center">$book3.title$</p>
64                 $endif$
65             $endfor$
66             
67             $for(book4)$
68                 $if(book4.title)$
69                     <p class="center">$book4.title$</p>
70                 $endif$
71             $endfor$
72             
73             $for(book5)$
74                 $if(book5.title)$
75                     <p class="center">$book5.title$</p>
76                 $endif$
77             $endfor$
78             
79             $for(magnet)$
80                 $if(magnet.link)$
81                     <p class="center top-margin"><a href="$magnet.link$"><img alt="Free Bonus" src="../Images/file0.jpg"></a></p>
82                 $else$
83                     <p class="center top-margin"><img alt="Free Bonus" src="../Images/file0.jpg"></p>
84                 $endif$
85             $endfor$
86             
87             $if(contributors)$
88             <div class="top-margin">
89             $for(contributors)$
90                 $if(contributors.designer)$
91                     <h6>Book Design: $contributors.designer$</h6>
92                 $endif$
93                 $if(contributors.artist)$
94                     <h6>Cover Artist: $contributors.artist$</h6>
95                 $endif$
96                 $if(contributors.editor)$
97                     <h6>Editor: $contributors.editor$</h6>
98                 $endif$
99             $endfor$
100             </div>
101             $endif$
102         $endif$
103         
104         $body$
105     </body>
106 </html>