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