aboutsummaryrefslogtreecommitdiff
path: root/src/templates.js
blob: 7f22bed33959f776472a77d095169f4419b8b607 (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
module.exports = {
    titlebar: `<nav class="titlebar">
    <div>
    <a href="bread" class="btn btn-primary">Bread</a>
    <a href="blog" class="btn btn-primary">Blog</a>
    <!-- <a href="essay" class="btn btn-primary">Essays</a> (Hello inspector, this page exists, but just isn't very interesting, so I'm removing the link) -->
    <a href="https://games.marks.kitchen" class="btn btn-primary">Games</a>
    <a href="email" class="btn btn-primary">Email</a>
    <a href="misc" class="btn btn-primary">Misc</a>
</div>
</nav>`,
    footer: `<footer>
    <div>Mark Powers</div>
    <div>
        <a href="/feed.xml">RSS feed</a>
        <span class="spacer"></span>
        <a href="https://github.com/Mark-Powers">GitHub</a>
        <span class="spacer"></span>
        <span>mark-at-marks.kitchen</span>
    </div>
</footer>`,

    index: {
        pre: `<!doctype html>
        <html lang="en">
        
        <head>
            <title>Mark's Kitchen</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
            <link rel="stylesheet" type="text/css" href="/css/styles.css">
            <link rel="shortcut icon" href="/favicon.ico">
        </head>
        
        <body>
            <h1>Welcome to Mark's Kitchen</h1>`,
            post: `</body>
            </html>`
    },
    bread: {
        pre: `<!doctype html>
        <html lang="en">
        
        <head>
            <title>Mark's Kitchen - Bread</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
            <link rel="stylesheet" type="text/css" href="/css/styles.css">
            <link rel="shortcut icon" href="/favicon.ico">
        </head>
        
        <body>
            <h1>
                <a class="navigation" href="/" title="marks.kitchen">&lt;</a>
                Bread
            </h1>
            Some highlights (and lowlights) of breadmaking`,
            post: `</body>
            </html>`
    },
    blog: {
        pre: `<!doctype html>
        <html lang="en">
        
        <head>
            <title>Mark's Kitchen - Blog</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
            <link rel="stylesheet" type="text/css" href="/css/styles.css">
            <link rel="shortcut icon" href="/favicon.ico">
        </head>
        
        <body>
            <h1>
                <a class="navigation" href="/" title="marks.kitchen">&lt;</a>
                Blog
            </h1>`,
            post: `</body>
            </html>`
    }
}