]> git.r.bdr.sh - rbdr/blog/blame - templates/index.html
Fix generator when there are < max posts
[rbdr/blog] / templates / index.html
CommitLineData
cf630290
BB
1<!doctype html>
2<html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="description" content="This is the blog at unlimited.pizza">
6
7 <title>blog 🍕</title>
8
39744467
BB
9 <script src="/js/blog.js"></script>
10
cf630290
BB
11 <link href="css/style.css" rel="stylesheet">
12
13 </head>
14 <body>
15 <header class="main-header">
16 <a href="/">Blog</a>
17 </header>
18 <main>
19 {{#posts}}
20 <article id="{{id}}">
21 {{{html}}}
22 </article>
23 <hr>
24 {{/posts}}
25 {{^posts}}
26 <h1>This is a fresh blog!</h1>
27 <p>There are no posts yet.</p>
28 {{/posts}}
29 </main>
30 <footer>
31 <p>Only 3 entries kept at any time. Press 1, 2, and 3 to switch. <a href="https://unlimited.pizza">unlimited.pizza</a></p>
32 </footer>
33 </body>
34</html>