]> Witch of Git - web/blog/blob - _includes/layouts/layout.njk
Move to an ES module for config
[web/blog] / _includes / layouts / layout.njk
1 <!doctype html>
2 <html lang="en-US">
3 <head>
4 <meta charset="utf8">
5 <meta property="og:type" content="website">
6 {% if title %}
7 <title>{{ title }}</title>
8 <meta property="og:title" content="{{ title }}">
9 <meta property="twitter:title" content="{{ title }}">
10 {% else %}
11 <title>Witch of Light</title>
12 <meta property="og:title" content="Witch of Light">
13 <meta property="twitter:title" content="Witch of Light">
14 {% endif %}
15 {% if summary %}
16 <meta name="description" content="{{ summary }}">
17 <meta property="og:description" content="{{ summary }}">
18 <meta property="twitter:description" content="{{ summary }}">
19 {% else %}
20 <meta name="description" content="A collection of Cassie's harebrained schemes">
21 <meta property="og:description" content="A collection of Cassie's harebrained schemes">
22 <meta property="twitter:description" content="A collection of Cassie's harebrained schemes">
23 {% endif %}
24 <meta property="og:url" content="https://blog.witchoflight.com">
25 <meta property="og:site_name" content="Witch of Light">
26 <meta property="og:image" content="https://www.witchoflight.com/assets/light.jpg">
27 <meta property="og:image:type" content="image/png">
28 <meta property="og:image:width" content="900">
29 <meta property="og:image:height" content="900">
30 <meta property="og:image:alt" content="The Homestuck light aspect icon">
31 <meta name="twitter:card" content="summary">
32 <meta name="twitter:site" content="@porglezomp">
33 <meta name="twitter:creator" content="@porglezomp">
34 <meta name="twitter:image" content="https://www.witchoflight.com/assets/light.png">
35 <meta name="viewport" content="width=device-width, initial-scale=1.0">
36 <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
37 <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
38 <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
39 <link rel="manifest" href="/site.webmanifest">
40 <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#f78123">
41 <link rel="alternate" type="application/atom+xml" title="RSS feed for blog.witchoflight.com" href="/feed.xml">
42 <meta name="msapplication-TileColor" content="#da532c">
43 <meta name="theme-color" content="#ffffff">
44 {% set css %}{% include "style.css" %}{% endset %}
45 <style>{{ css | cssmin | safe }}</style>
46 </head>
47 <body class="col">
48 <header>
49 <div class="row fwrap baseline">
50 <h1 class="rigid spacer">
51 <a class="c-sun dec-none" href="/">Witch of Light</a>
52 </h1>
53 <div class="row" style="margin-top: -0.6em">
54 <a class="c-sun" href="/webrings">Webrings</a>
55 &nbsp;&nbsp;
56 <a class="c-sun" href="/archive">Archive</a>
57 &nbsp;&nbsp;
58 <a class="c-sun" href="/feed.xml">RSS</a>
59 </div>
60 </div>
61 <i class="dim">A collection of Cassie's harebrained schemes.</i>
62 </header>
63 <main>
64 {{ content | safe }}
65 </main>
66 <div class="spacer"></div>
67 <footer class="col hcenter">
68 Copyright &copy; 2024 Cassie Jones.
69 <div class="row hcenter">
70 <a class="hov-fade" href="https://twitter.com/porglezomp"><img class="im-icon" src="/static/twitter.svg" alt="Twitter"></a>
71 <div class="block-1"></div>
72 <a class="hov-fade" href="https://github.com/porglezomp"><img class="im-icon" src="/static/github.svg" alt="GitHub"></a>
73 </div>
74 </footer>
75 <link rel="stylesheet" type="text/css" href="/static/prism.css">
76 </body>
77 </html>