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