]> git.r.bdr.sh - rbdr/blog/blame - templates/index.html
Escape ampersand in titles
[rbdr/blog] / templates / index.html
CommitLineData
cf630290 1<!doctype html>
96c7a635 2<html lang="en" class="h-feed">
cf630290
BB
3 <head>
4 <meta charset="utf-8">
96c7a635
BB
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">
cf630290
BB
7 <meta name="description" content="This is the blog at unlimited.pizza">
8
96c7a635
BB
9 <meta name="theme-color" content="#ffffff">
10
11 <title class="p-name">Blog at Unlimited Pizza 🍕</title>
cf630290 12
d87e5802 13 <script src="./js/blog.js"></script>
39744467 14
d50db372 15 <link href="/css/style.css" rel="stylesheet">
d87e5802 16 <link href="./feed.xml" rel="alternate" hreflang="en" title="RSS feed">
cf630290 17
d87e5802 18 <script type="module" src="//www.unlimited.pizza/js/animation.js"></script>
5218def9 19
cf630290
BB
20 </head>
21 <body>
96c7a635 22 <header aria-label="Logo" class="main-header">
5218def9
RBR
23 <h1>
24 <canvas width=100 height=100></canvas>
d87e5802 25 <a href="/gemlog">unlimited.pizza/gemlog</a>
5218def9 26 </h1>
cf630290
BB
27 </header>
28 <main>
5218def9 29 <p>
d87e5802 30 This blog is also available in <a href="./index.txt">plain text</a>.
65d379f5 31 Archive available in <a href="gemini://gemini.unlimited.pizza/gemlog">gemini</a>
1ac49bad
RBR
32 </p>
33 <p>
d87e5802 34 → <a href="http://www.unlimited.pizza">home</a>.
5218def9 35 </p>
d92ac8cc 36 {{~ it.posts: post}}
05d725fa 37 <article class="h-entry" id="{{= post.index + 1}}">
d92ac8cc 38 {{= post.html}}
cf630290 39 </article>
05d725fa 40 <hr class="separator">
d92ac8cc 41 {{~}}
96c7a635 42 {{? it.posts.length === 0}}
cf630290
BB
43 <h1>This is a fresh blog!</h1>
44 <p>There are no posts yet.</p>
d92ac8cc 45 {{?}}
cf630290
BB
46 </main>
47 <footer>
d87e5802 48 <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>
cf630290
BB
49 </footer>
50 </body>
51</html>