diff options
Diffstat (limited to 'src/templates.js')
-rw-r--r-- | src/templates.js | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/templates.js b/src/templates.js new file mode 100644 index 0000000..b1cde30 --- /dev/null +++ b/src/templates.js @@ -0,0 +1,40 @@ +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>` + } +}
\ No newline at end of file |