]> git.r.bdr.sh - rbdr/blog/blame_incremental - templates/index.html
Add rudimentary gemlog archive support
[rbdr/blog] / templates / index.html
... / ...
CommitLineData
1<!doctype html>
2<html lang="en" class="h-feed">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <meta class="p-author" name="author" content="Rubén Beltrán del Río">
7 <meta name="description" content="This is the blog at unlimited.pizza">
8
9 <meta name="theme-color" content="#ffffff">
10
11 <title class="p-name">Blog at Unlimited Pizza 🍕</title>
12
13 <script src="/js/blog.js"></script>
14
15 <link href="/css/style.css" rel="stylesheet">
16 <link href="/feed.xml" rel="alternate" hreflang="en" title="RSS feed">
17
18 <script type="module" src="//unlimited.pizza/js/animation.js"></script>
19
20 </head>
21 <body>
22 <header aria-label="Logo" class="main-header">
23 <h1>
24 <canvas width=100 height=100></canvas>
25 <a href="/">blog.unlimited.pizza</a>
26 </h1>
27 </header>
28 <main>
29 <p>
30 This blog is also available in <a href="/index.txt">plain text</a>.
31 </p>
32 <p>
33 → <a href="http://unlimited.pizza">home</a>.
34 </p>
35 {{~ it.posts: post}}
36 <article class="h-entry" id="{{= post.index + 1}}">
37 {{= post.html}}
38 </article>
39 <hr class="separator">
40 {{~}}
41 {{? it.posts.length === 0}}
42 <h1>This is a fresh blog!</h1>
43 <p>There are no posts yet.</p>
44 {{?}}
45 </main>
46 <footer>
47 <p>Only 3 entries kept at any time. Press 1, 2, and 3 to switch. <a href="https://unlimited.pizza">unlimited.pizza</a></p>
48 </footer>
49 </body>
50</html>