Update date handling and add some h-entry markup
[web/blog] / _includes / layouts / layout.njk
index a7f77a887fd94afd989e2216d7432da634198e00..e1d51b3c68c0fb2faac3d6dcc67644a143e28301 100644 (file)
@@ -1,12 +1,12 @@
 <!doctype html>
-<html lang="en">
+<html lang="en-US">
 <head>
     <meta charset="utf8">
     <meta property="og:type" content="website">
     {% if title %}
-        <title>Witch of Light - {{ title }}</title>
-        <meta property="og:title" content="Witch of Light - {{ title }}">
-        <meta property="twitter:title" content="Witch of Light - {{ title }}">
+        <title>{{ title }}</title>
+        <meta property="og:title" content="{{ title }}">
+        <meta property="twitter:title" content="{{ title }}">
     {% else %}
         <title>Witch of Light</title>
         <meta property="og:title" content="Witch of Light">
     <meta name="twitter:creator" content="@porglezomp">
     <meta name="twitter:image" content="https://www.witchoflight.com/assets/light.png">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
+    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
+    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
+    <link rel="manifest" href="/site.webmanifest">
+    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#f78123">
+    <link rel="alternate" type="application/atom+xml" title="RSS feed for blog.witchoflight.com" href="/feed.xml">
+    <meta name="msapplication-TileColor" content="#da532c">
+    <meta name="theme-color" content="#ffffff">
     {% set css %}{% include "style.css" %}{% endset %}
     <style>{{ css | cssmin | safe }}</style>
 </head>
 <body class="col">
     <header>
-        <div class="hgroup baseline">
-            <h1><a class="c-sun dec-none" href="/">Witch of Light</a></h1>
-            <div class="spacer"></div>
+        <div class="row fwrap baseline">
+            <h1 class="rigid spacer">
+                <a class="c-sun dec-none" href="/">Witch of Light</a>
+            </h1>
             <div class="row" style="margin-top: -0.6em">
+                <a class="c-sun" href="/webrings">Webrings</a>
+                &nbsp;&nbsp;
                 <a class="c-sun" href="/archive">Archive</a>
                 &nbsp;&nbsp;
                 <a class="c-sun" href="/feed.xml">RSS</a>
         {{ content | safe }}
     </main>
     <div class="spacer"></div>
-    <footer class="row hcenter">
-        Copyright &copy; 2019 Cassie Jones.
-        - <a href="https://twitter.com/porglezomp">@porglezomp</a>
+    <footer class="col hcenter">
+        Copyright &copy; 2024 Cassie Jones.
+        <div class="row hcenter">
+            <a class="hov-fade" href="https://twitter.com/porglezomp"><img class="im-icon" src="/static/twitter.svg" alt="Twitter"></a>
+            <div class="block-1"></div>
+            <a class="hov-fade" href="https://github.com/porglezomp"><img class="im-icon" src="/static/github.svg" alt="GitHub"></a>
+        </div>
     </footer>
     <link rel="stylesheet" type="text/css" href="/static/prism.css">
 </body>