templates/base.html

43 lines · 1829 bytes

 1<!DOCTYPE html>
 2<html lang="{{ site.language }}">
 3<head>
 4  <meta charset="utf-8">
 5  <meta name="viewport" content="width=device-width, initial-scale=1">
 6  <title>{% block title %}{{ site.title }}{% endblock %}</title>
 7  <meta name="description" content="{% block description %}{{ site.description }}{% endblock %}">
 8  <meta name="color-scheme" content="dark light">
 9  {#- build.sh appends ?h=<content hash> to these four URLs. #}
10  <link rel="stylesheet" href="/main.css">
11  <link rel="icon" href="/favicon.svg">
12  <link rel="apple-touch-icon" href="/apple-touch-icon.png">
13  <meta property="og:type" content="website">
14  <meta property="og:site_name" content="{{ site.title }}">
15  <meta property="og:url" content="{{ page.url | replace("index.html", "") | absolute }}">
16  <meta property="og:image" content="{{ "og.png" | absolute }}">
17  <meta property="og:image:width" content="1200">
18  <meta property="og:image:height" content="630">
19  <meta name="twitter:card" content="summary_large_image">
20  <link href="https://github.com/ccleberg" rel="me">
21  <link href="mailto:hello@cleberg.net" rel="me">
22  <link href="https://c.im/@cmc" rel="me">
23</head>
24<body>
25  <header class="site-header">
26    <a class="brand" href="/">krz</a>
27    <nav class="site-nav">
28      <a href="/apps/">apps</a>
29      <a href="/services/">services</a>
30      <a href="/#about">about</a>
31    </nav>
32  </header>
33
34  <main class="site-main">
35    {% block content %}{% endblock %}
36  </main>
37
38  <footer class="site-footer">
39    {#- build.sh sets the year to the year of the build. #}
40    <p class="foot-links"><a href="mailto:root@krz.sh">root@krz.sh</a> · <a href="https://gitbay.org/krz">git</a> · <a href="/privacy/">privacy</a> · <a href="/terms/">terms</a> · <a href="/refunds/">refunds</a> · &copy; 2026 · public domain</p>
41  </footer>
42</body>
43</html>