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