summary refs log tree commit diff stats
path: root/_template.html
blob: b6628552004787f0c024e855c92a41439955118e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<!-- Template for compiled 'Autocento' documents -->
<html$if(lang)$ lang="$lang$"$endif$>
<head>
    <meta charset="utf-8">
    <meta name="generator" content="pandoc">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
    <meta name="author" content="Case Duckworth">
    <!-- more meta tags here -->
    <title>$title$ | Autocento of the breakfast table</title>
    <link rel="stylesheet" type="text/css" href="css/_common.css">
    $if(genre)$
    <link rel="stylesheet" type="text/css" href="css/$genre$.css">
    $endif$
    $if(project.css)$
    <link rel="stylesheet" type="text/css" href="css/$project.css$.css">
    $endif$
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script>
    <![endif]-->
    $for(header-includes)$
    $headerincludes$
    $endfor$
</head>
<body>
$for(include-before)$ $include-before$ $endfor$

    <header>
        <!-- title -->
        $if(title)$<h1 class="title">$title$</h1>$endif$
        $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$
        $if(epigraph.content)$
        <!-- epigraph -->
        <p class="epigraph">
            $if(epigraph.link)$
            <a href="$epigraph.link$">$epigraph.content$</a>
            $else$
            $epigraph.content$
            $endif$
        </p>
        $if(epigraph.attrib)$
        <p class="epigraph-attrib">
            &mdash; $epigraph.attrib$
        </p>
        $endif$
        $endif$
        $if(dedication)$
        <!-- dedication -->
        <p class="dedication">
            <em>for $dedication$</em>
        </p>
        $endif$
    </header>

    <section class="thing $genre$">
    $body$
    </section>

    <nav>
        $for(project.prev)$
        <a href="$project.prev.link$.html">
            <span class="prevlink">&lt; $project.prev.title$</span>
        </a>
        $endfor$
        <a href="#" id="lozenge"> &loz; </a>
        $for(project.next)$
        <a href="$project.next.link$.html">
            <span class="nextlink">$project.next.title$ &gt;</span>
        </a>
        $endfor$
    </nav>

$for(include-after)$
$include-after$
$endfor$
</body>
</html>