]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/index.html
Make templates more generic
[rbdr/blog] / templates / index.html
index 3e37304dc6c6d43838d2439274c80907b9cd7e61..f1967e46c374574f98a6e03950b83c72e2fcf769 100644 (file)
@@ -1,31 +1,33 @@
 <!doctype html>
-<html lang="en" class="h-feed">
+<html lang="en">
   <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">
+    <meta name="description" content="My ephemeral blog">
 
     <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="/feed.xml" rel="alternate" hreflang="en" title="RSS feed">
+    <title class="p-name">My Ephemeral Blog</title>
 
+    <link href="./feed.xml" rel="alternate" hreflang="en" title="RSS feed">
   </head>
   <body>
-    <header aria-label="Logo" class="main-header">
-      <a href="/">Blog</a>
+    <header>
+      <h1>
+        <a href="./">My Ephemeral Blog</a>
+      </h1>
     </header>
     <main>
+    <p>
+    Only 3 posts kept at a time.
+    This blog is also available in <a href="./index.txt">txt</a>
+    and <a href="./feed.xml">rss</a>
+    </p>
     {{~ it.posts: post}}
-      <article class="h-entry" id="{{= post.id}}">
+      <article class="h-entry" id="{{= post.index + 1}}">
         {{= post.html}}
       </article>
-      <hr>
+      <hr class="separator">
     {{~}}
     {{? it.posts.length === 0}}
       <h1>This is a fresh blog!</h1>
@@ -33,7 +35,7 @@
     {{?}}
     </main>
     <footer>
-      <p>Only 3 entries kept at any time. Press 1, 2, and 3 to switch. <a href="https://unlimited.pizza">unlimited.pizza</a></p>
+      <p>Press 1, 2, and 3 to switch.</p>
     </footer>
   </body>
 </html>