<!doctype html>
-<html>
+<html lang="en" class="h-feed">
<head>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta class="p-author" name="author" content="Rubén Beltrán del Río">
<meta name="description" content="This is the blog at unlimited.pizza">
- <title>blog 🍕</title>
+ <meta name="theme-color" content="#ffffff">
- <script src="/js/blog.js"></script>
+ <title class="p-name">Blog at Unlimited Pizza 🍕</title>
- <link href="css/style.css" rel="stylesheet">
+ <script src="./js/blog.js"></script>
+
+ <link href="/css/style.css" rel="stylesheet">
+ <link href="./feed.xml" rel="alternate" hreflang="en" title="RSS feed">
+
+ <script type="module" src="//www.unlimited.pizza/js/animation.js"></script>
</head>
<body>
- <header class="main-header">
- <a href="/">Blog</a>
+ <header aria-label="Logo" class="main-header">
+ <h1>
+ <canvas width=100 height=100></canvas>
+ <a href="/gemlog">unlimited.pizza/gemlog</a>
+ </h1>
</header>
<main>
- {{#posts}}
- <article id="{{id}}">
- {{{html}}}
+ <p>
+ This blog is also available in <a href="./index.txt">plain text</a>.
+ Archive available in <a href="gemini://gemini.unlimited.pizza/gemlog">gemini</a>
+ </p>
+ <p>
+ → <a href="http://www.unlimited.pizza">home</a>.
+ </p>
+ {{~ it.posts: post}}
+ <article class="h-entry" id="{{= post.index + 1}}">
+ {{= post.html}}
</article>
- <hr>
- {{/posts}}
- {{^posts}}
+ <hr class="separator">
+ {{~}}
+ {{? it.posts.length === 0}}
<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>
+ <p>Only 3 entries kept at any time. Press 1, 2, and 3 to switch. <a href="https://www.unlimited.pizza">www.unlimited.pizza</a></p>
</footer>
</body>
</html>