]> git.r.bdr.sh - rbdr/blog/blob - templates/index.html
Update dependencies + adapt code for them
[rbdr/blog] / templates / index.html
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
9 <script src="/js/blog.js"></script>
10
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 {{~ it.posts: post}}
20 <article id="{{= post.id}}">
21 {{= post.html}}
22 </article>
23 <hr>
24 {{~}}
25 {{? it.posts}}
26 <h1>This is a fresh blog!</h1>
27 <p>There are no posts yet.</p>
28 {{?}}
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>