summaryrefslogtreecommitdiff
path: root/_layouts/default.html
blob: eb7402347656ea2f92a99861dcf87016afc1f1c0 (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
<!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 -->
  {% if site.data.build %}
  <footer>
    <small title="Reflects the whole site, not this page. Individual pages may be unchanged since earlier versions.">
      site version
      <a href="/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>
    </small>
  </footer>
  {% endif %}
  </body>
</html>