diff options
Diffstat (limited to '_template.html')
-rw-r--r-- | _template.html | 59 |
1 files changed, 40 insertions, 19 deletions
diff --git a/_template.html b/_template.html index 187e5d7..fef7b40 100644 --- a/_template.html +++ b/_template.html | |||
@@ -7,34 +7,55 @@ | |||
7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
8 | <meta name="author" content="Case Duckworth"> | 8 | <meta name="author" content="Case Duckworth"> |
9 | <!-- more meta tags here --> | 9 | <!-- more meta tags here --> |
10 | <title>$pagetitle$</title> | 10 | <title>$title$ | Autocento of the breakfast table</title> |
11 | <link rel="stylesheet" type="text/css" href="_poems.css"> | 11 | <link rel="stylesheet" type="text/css" href="_common.css"> |
12 | $for(css)$ | 12 | $if(genre)$ |
13 | <link rel="stylesheet" href="$css$"> | 13 | <link rel="stylesheet" type="text/css" href="_$genre$.css"> |
14 | $endfor$ | 14 | $endif$ |
15 | <!-- link to javascript? --> | 15 | $if(project.css)$ |
16 | <link rel="stylesheet" type="text/css" href="_$project.css$.css"> | ||
17 | $endif$ | ||
16 | <!--[if lt IE 9]> | 18 | <!--[if lt IE 9]> |
17 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> | 19 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> |
18 | <![endif]--> | 20 | <![endif]--> |
19 | $for(header-includes)$ | 21 | $for(header-includes)$ |
20 | $header-includes$ | 22 | $headerincludes$ |
21 | $endfor$ | 23 | $endfor$ |
22 | </head> | 24 | </head> |
23 | <body> | 25 | <body> |
24 | $for(include-before)$ | 26 | $for(include-before)$ $include-before$ $endfor$ |
25 | $include-before$ | 27 | |
26 | $endfor$ | ||
27 | $if(title)$ | ||
28 | <header> | 28 | <header> |
29 | <h1 class="title">$title</h1> | 29 | <!-- title --> |
30 | $if(subtitle)$ | 30 | $if(title)$<h1 class="title">$title$</h1>$endif$ |
31 | <h1 class="subtitle">$subtitle$</h1> | 31 | $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$ |
32 | $if(epigraph.content)$ | ||
33 | <!-- epigraph --> | ||
34 | <p class="epigraph"> | ||
35 | $epigraph.content$ | ||
36 | $if(epigraph.link)$<a href="$epigraph.link$">></a>$endif$ | ||
37 | </p> | ||
38 | $if(epigraph.attrib)$ | ||
39 | <p class="epigraph-attrib">— $epigraph.attrib$</p> | ||
40 | $endif$ | ||
32 | $endif$ | 41 | $endif$ |
33 | </header> | 42 | </header> |
34 | $endif$ | 43 | |
35 | $body$ | 44 | $body$ |
36 | $for(include-after)$ | 45 | |
37 | $include-after$ | 46 | <nav> |
38 | $endfor$ | 47 | $if(project.prev.title)$ |
48 | <!--previous --> | ||
49 | <a href="$project.prev.link$.html">< $project.prev.title$</a> | ||
50 | $endif$ | ||
51 | $if(project.next.title)$ | ||
52 | <!-- next --> | ||
53 | <a href="$project.next.link$.html">$project.next.title$ ></a> | ||
54 | $endif$ | ||
55 | </nav> | ||
56 | |||
57 | $for(include-after)$ | ||
58 | $include-after$ | ||
59 | $endfor$ | ||
39 | </body> | 60 | </body> |
40 | </html> | 61 | </html> |