]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/index.html
✨📝🔧 Add generator bin and files
[rbdr/blog] / templates / index.html
diff --git a/templates/index.html b/templates/index.html
new file mode 100644 (file)
index 0000000..858396b
--- /dev/null
@@ -0,0 +1,32 @@
+<!doctype html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <meta name="description" content="This is the blog at unlimited.pizza">
+
+    <title>blog 🍕</title>
+
+    <link href="css/style.css" rel="stylesheet">
+
+  </head>
+  <body>
+    <header class="main-header">
+      <a href="/">Blog</a>
+    </header>
+    <main>
+    {{#posts}}
+      <article id="{{id}}">
+        {{{html}}}
+      </article>
+      <hr>
+    {{/posts}}
+    {{^posts}}
+      <h1>This is a fresh blog!</h1>
+      <p>There are no posts yet.</p>
+    {{/posts}}
+    </main>
+    <footer>
+      <p>Only 3 entries kept at any time. Press 1, 2, and 3 to switch. <a href="https://unlimited.pizza">unlimited.pizza</a></p>
+    </footer>
+  </body>
+</html>