]> git.r.bdr.sh - rbdr/blog/blame - templates/index.html
Allow adding / updating
[rbdr/blog] / templates / index.html
CommitLineData
cf630290 1<!doctype html>
02f408c2 2<html lang="en">
cf630290
BB
3 <head>
4 <meta charset="utf-8">
96c7a635 5 <meta name="viewport" content="width=device-width, initial-scale=1">
02f408c2 6 <meta name="description" content="My ephemeral blog">
cf630290 7
96c7a635
BB
8 <meta name="theme-color" content="#ffffff">
9
02f408c2 10 <title class="p-name">My Ephemeral Blog</title>
cf630290 11
d87e5802 12 <link href="./feed.xml" rel="alternate" hreflang="en" title="RSS feed">
cf630290
BB
13 </head>
14 <body>
02f408c2 15 <header>
5218def9 16 <h1>
02f408c2 17 <a href="./">My Ephemeral Blog</a>
5218def9 18 </h1>
cf630290
BB
19 </header>
20 <main>
5218def9 21 <p>
3563ec23
RBR
22 Only 3 posts kept at a time.
23 This blog is also available in <a href="./index.txt">txt</a>
02f408c2 24 and <a href="./feed.xml">rss</a>
5218def9 25 </p>
d92ac8cc 26 {{~ it.posts: post}}
05d725fa 27 <article class="h-entry" id="{{= post.index + 1}}">
d92ac8cc 28 {{= post.html}}
cf630290 29 </article>
05d725fa 30 <hr class="separator">
d92ac8cc 31 {{~}}
96c7a635 32 {{? it.posts.length === 0}}
cf630290
BB
33 <h1>This is a fresh blog!</h1>
34 <p>There are no posts yet.</p>
d92ac8cc 35 {{?}}
cf630290 36 </main>
cf630290
BB
37 </body>
38</html>