aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/_layouts/page.html
blob: ff0943cf7a694e02d640d441e2bd1ba4d41bd016 (plain) (blame)
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
<!doctype html>
<html lang="en" data-bs-theme="dark">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">

    <title>{{ page.title }}</title>

    <style>
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  flex-shrink: 0;
}
footer {
  margin-top: auto;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
    </style>
  </head>
  <body>
    <main class="mb-3">
      {{ content }}
    </main>
    <footer class="bg-body-tertiary py-2">
      <div class="container">
        <div class="row">
          <div class="col">
            <div class="text-center text-muted">Made by <a href="https://tensin.name/">me</a>. Version: {{ site.time | date: '%F' }}.</div>
          </div>
        </div>
      </div>
    </footer>
  </body>
</html>