summaryrefslogtreecommitdiff
path: root/_layouts/default.html
blob: d7dd79989011a8e9d7eb414a27456fa1d2efde09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html>
<html lang="{{ site.lang | default: 'en-US' }}">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="color-scheme" content="dark light" />
    <meta charset="utf-8" />
    <title>{{ page.title }} - {{ site.title }}</title>
    <style>
      :root {
        --bg-color: #ffffff;
        --text-color: #000000;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --bg-color: #000000;
          --text-color: #ffffff;
        }
      }
      body {
        background: var(--bg-color);
        color: var(--text-color);
        font-family:
          -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
          sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
        font-size: 16px;
        margin: 2em auto;
        max-width: 800px;
        padding: 1em;
        line-height: 1.4;
        hyphens: auto;
      }
    </style>
  </head>
  <body>
    <!-- _layout/default.html BEGIN_content -->
    {{ content -}}
    <!-- _layout/default.html END_content -->
    <footer>
      <small
        title="Reflects the whole site, not this page. Individual pages may be unchanged since earlier versions."
      >
        {% if site.data.build %} site version
        <a
          href="https://hizbu.com/cgit/hizbu.com.git/commit/?id={{ site.data.build.commit_full }}"
          ><code>{{ site.data.build.commit }}</code></a
        >
        · committed
        <time datetime="{{ site.data.build.date }}"
          >{{ site.data.build.date }}</time
        >
        {% else %} site version
        <a href="https://hizbu.com/cgit/hizbu.com.git"
          ><code>development</code></a
        >
        · committed
        <time datetime="1970-01-01 00:00 UTC">1970-01-01 00:00 UTC</time>
        {% endif %}
      </small>
    </footer>
  </body>
</html>