]> git.r.bdr.sh - rbdr/blog/blame - templates/index.html
Add h-feed fields to markup
[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">
cf630290
BB
7 <meta name="description" content="This is the blog at unlimited.pizza">
8
96c7a635
BB
9 <meta name="theme-color" content="#ffffff">
10
11 <title class="p-name">Blog at Unlimited Pizza 🍕</title>
cf630290 12
39744467
BB
13 <script src="/js/blog.js"></script>
14
96c7a635
BB
15 <link href="/css/style.css" rel="stylesheet">
16 <link href="/feed.xml" rel="alternate" hreflang="en" title="RSS feed">
cf630290
BB
17
18 </head>
19 <body>
96c7a635 20 <header aria-label="Logo" class="main-header">
cf630290
BB
21 <a href="/">Blog</a>
22 </header>
23 <main>
d92ac8cc 24 {{~ it.posts: post}}
96c7a635 25 <article class="h-entry" id="{{= post.id}}">
d92ac8cc 26 {{= post.html}}
cf630290
BB
27 </article>
28 <hr>
d92ac8cc 29 {{~}}
96c7a635 30 {{? it.posts.length === 0}}
cf630290
BB
31 <h1>This is a fresh blog!</h1>
32 <p>There are no posts yet.</p>
d92ac8cc 33 {{?}}
cf630290
BB
34 </main>
35 <footer>
36 <p>Only 3 entries kept at any time. Press 1, 2, and 3 to switch. <a href="https://unlimited.pizza">unlimited.pizza</a></p>
37 </footer>
38 </body>
39</html>