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