aboutsummaryrefslogtreecommitdiff
path: root/_layouts/default.html
blob: 7ad1bc5310f180f6aabb7be554aa14fe1a7d7993 (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
<!DOCTYPE html>
<html class="h-full" lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width" />
    <link href="/assets/css/main.css" rel="stylesheet" />
    <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicon/apple-touch-icon.png?v=1">
    <link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon/favicon-32x32.png?v=1">
    <link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon/favicon-16x16.png?v=1">
    <link rel="manifest" href="/assets/img/favicon/site.webmanifest?v=1">
    <link rel="mask-icon" href="/assets/img/favicon/safari-pinned-tab.svg?v=1" color="#966bab">
    <link rel="shortcut icon" href="/favicon.ico?v=1">
    <meta name="msapplication-TileColor" content="#966bab">
    <meta name="theme-color" content="#15191e">
    <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/feed.xml" />
    {% seo %}
  </head>

  <body class="bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-100 h-full">
    {% include nav.html %}
    <div id="container" class="p-6 pt-2 max-w-5xl mx-auto">
      <main id="main" class="max-w-5xl">
        {% if page.header != "false" %}
          {% if page.header %}
            <h1 class="-mt-2">{{ page.header }}</h1>
          {% elsif page.title %}
            <h1 class="-mt-2">{{ page.title }}</h1>
          {% endif %}
        {% endif %}
        {{ content }}
      </main>
      {% include aside.html %}
    </div>

    <div
      id="clipboard"
      class="bg-gray-300 dark:bg-gray-700 rounded-lg shadow-lg invisible opacity-0 fixed p-3 m-6 bottom-0 right-0 transition duration-700">
      Copied to clipboard!
    </div>

    <a class="hidden" data-jslicense="1" href="/librejs/"></a>
    <script src="/assets/js/main.js"></script>
  </body>
</html>