about summary refs log tree commit diff stats
path: root/.template.html
blob: 1d6a405d1d86fa88a1620ad943a51ca54ca87f9f (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<!-- AUTOCENTO OF THE BREAKFAST TABLE -->
<!-- vim: fdm=indent
-->
<html lang="en">
<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">

    <title>$title$ | Autocento of the breakfast table</title>
    <link rel="icon" type="image/png" href="img/favico.png" />

    <link rel="stylesheet" type="text/css" href="./css/common.css">
    <script src="./js/lozenge.js" type="text/javascript"> </script>
    <script src="./js/hylo.js" type="text/javascript"> </script>

    $if(genre)$
    <link rel="stylesheet" type="text/css" href="./css/$genre$.css">
    <script src="./js/$genre$.js" type="text/javascript"> </script>
    $endif$
    $if(project.css)$
    <link rel="stylesheet" type="text/css" href="./css/$project.css$.css">
    <script src="./js/$project.css$.js" type="text/javascript"> </script>
    $endif$
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script>
    <![endif]-->
    <!-- <script src="js/external.js"> </script> -->
    $for(header-includes)$
    $headerincludes$
    $endfor$
</head>
<body>
    $for(include-before)$ $include-before$ $endfor$

    <article id="container">
        <header>
            <!-- title -->
            $if(title)$<h1 class="title">$title$</h1>$endif$
            $if(subtitle)$<h1 class="subtitle">$subtitle$</h1>$endif$

            $if(epigraph.content)$
                <!-- epigraph -->
                <div class="epigraph">
                $if(epigraph.link)$
                    <a href="$epigraph.link$">$epigraph.content$</a>
                $else$
                    $epigraph.content$
                $endif$

                $if(epigraph.attrib)$
                    <div class="attrib">$epigraph.attrib$</div>
                $endif$
                </div>
            $endif$

            $if(dedication)$
                <!-- dedication -->
                <div class="dedication">$dedication$</div>
            $endif$
        </header>

        $if(ekphrastic.image)$
            <div class="ekphrastic">
            $if(ekphrastic.link)$
                <a href="$ekphrastic.link$">
                    <img src="img/$ekphrastic.image$"
                    $if(ekphrastic.title)$
                        title="$ekphrastic.title$"
                    $endif$
                    $if(ekphrastic.alt)$
                        alt="$ekphrastic.alt$"
                    $else$
                        alt="$ekphrastic.title$"
                    $endif$
                    $if(ekphrastic.class)$
                        class="$ekphrastic.class$"
                    $endif$
                    />
                </a>
            $else$
                <img src="img/$ekphrastic.image$"
                $if(ekphrastic.title)$
                    title="$ekphrastic.title$"
                $endif$
                $if(ekphrastic.alt)$
                    alt="$ekphrastic.alt$"
                $else$
                    alt="$ekphrastic.title$"
                $endif$
                $if(ekphrastic.class)$
                    class="$ekphrastic.class$"
                $endif$
                />
            $endif$
            </div>
        $endif$

        <section class="content $genre$">$body$</section>
    </article>
    <nav>
        $for(project.prev)$
        <a class="prevlink" href="$project.prev.link$.html"
            title="Next article$if(project.title)$ in $project.title$$endif$">
            $project.prev.title$
        </a>
        $endfor$
        <a href="#" id="lozenge" title="Random page"> &loz; </a>
        $for(project.next)$
        <a class="nextlink" href="$project.next.link$.html"
            title="Previous article$if(project.title)$ in $project.title$$endif$">
            $project.next.title$
        </a>
        $endfor$
    </nav>
    $for(include-after)$
    $include-after$
    $endfor$
</body>
</html>