]> git.r.bdr.sh - rbdr/blog/blame - templates/index.html
Update templates
[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">
3563ec23 7 <meta name="description" content="This is ruben's gemlog">
cf630290 8
96c7a635
BB
9 <meta name="theme-color" content="#ffffff">
10
3563ec23 11 <title class="p-name">Ruben's gemlog</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
3563ec23 18 <script type="module" src="//r.bdr.sh/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>
3563ec23 25 <a href="/gemlog">r.bdr.sh/gemlog</a>
5218def9 26 </h1>
cf630290
BB
27 </header>
28 <main>
5218def9 29 <p>
3563ec23
RBR
30 Only 3 posts kept at a time.
31 This blog is also available in <a href="./index.txt">txt</a>
32 and <a href="./feed.xml">rss</a>.
33 Full archive available in <a href="gemini://r.bdr.sh/gemlog">gemini</a>
1ac49bad
RBR
34 </p>
35 <p>
3563ec23 36 → <a href="/">home</a>.
5218def9 37 </p>
d92ac8cc 38 {{~ it.posts: post}}
05d725fa 39 <article class="h-entry" id="{{= post.index + 1}}">
d92ac8cc 40 {{= post.html}}
cf630290 41 </article>
05d725fa 42 <hr class="separator">
d92ac8cc 43 {{~}}
96c7a635 44 {{? it.posts.length === 0}}
cf630290
BB
45 <h1>This is a fresh blog!</h1>
46 <p>There are no posts yet.</p>
d92ac8cc 47 {{?}}
cf630290
BB
48 </main>
49 <footer>
3563ec23 50 <p>Press 1, 2, and 3 to switch. <a href="https://r.bdr.sh">r.bdr.sh</a></p>
cf630290
BB
51 </footer>
52 </body>
53</html>