diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..858396b --- /dev/null +++ b/templates/index.html @@ -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> |