aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2020-06-01 23:34:00 +0200
committerBen Beltran <ben@nsovocal.com>2020-06-01 23:34:00 +0200
commit96c7a635e540d675ca06d004cfe77e71b74471c7 (patch)
tree4f11c0771c7e07d1da36e9e82e98fd7684f2e981 /templates
parent67fdfa7cc2e1690657cd0c7190373847de25311a (diff)
Add h-feed fields to markup
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/templates/index.html b/templates/index.html
index 0c45ce2..3e37304 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,28 +1,33 @@
<!doctype html>
-<html>
+<html lang="en" class="h-feed">
<head>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta class="p-author" name="author" content="Rubén Beltrán del Río">
<meta name="description" content="This is the blog at unlimited.pizza">
- <title>blog 🍕</title>
+ <meta name="theme-color" content="#ffffff">
+
+ <title class="p-name">Blog at Unlimited Pizza 🍕</title>
<script src="/js/blog.js"></script>
- <link href="css/style.css" rel="stylesheet">
+ <link href="/css/style.css" rel="stylesheet">
+ <link href="/feed.xml" rel="alternate" hreflang="en" title="RSS feed">
</head>
<body>
- <header class="main-header">
+ <header aria-label="Logo" class="main-header">
<a href="/">Blog</a>
</header>
<main>
{{~ it.posts: post}}
- <article id="{{= post.id}}">
+ <article class="h-entry" id="{{= post.id}}">
{{= post.html}}
</article>
<hr>
{{~}}
- {{? it.posts}}
+ {{? it.posts.length === 0}}
<h1>This is a fresh blog!</h1>
<p>There are no posts yet.</p>
{{?}}