diff options
author | Mark Powers <markppowers0@gmail.com> | 2020-08-13 11:12:37 -0500 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2020-08-13 11:12:37 -0500 |
commit | 73e145884680242d64bc542afac09aee5f24b132 (patch) | |
tree | f96d12daaeeb330dae68cdba5c02c42162ff6840 /src/templates.js | |
parent | 09fdcb05b2c1fa7a51e4b4110c7317b5d0e361f4 (diff) |
Remove client JS requirement from /blog, convert new posts from markdown automatically
Diffstat (limited to 'src/templates.js')
-rw-r--r-- | src/templates.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/templates.js b/src/templates.js index 07a774c..7f22bed 100644 --- a/src/templates.js +++ b/src/templates.js @@ -57,5 +57,25 @@ module.exports = { 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"><</a> + Blog + </h1>`, + post: `</body> + </html>` } }
\ No newline at end of file |