summaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..531ea63
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>{{ title }} — {{ site.title }}</title>
+<link rel="stylesheet" href="{{ site.url }}style.css">
+</head>
+<body>
+<header>
+ <h1><a href="/">{{ site.title }}</a></h1>
+ <nav><a href="/search/">search</a></nav>
+</header>
+<main>
+ <article>
+ <h1>{{ title }}</h1>
+ <span class="meta">{{ date }}{% if draft %} ◈ draft{% endif %}</span>
+ {{ body }}
+ </article>
+ <p><a href="/">← back</a></p>
+</main>
+<footer><p>{{ site.author }}</p></footer>
+</body>
+</html>