aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/polaris/layouts/_default/baseof.html
blob: 5b8a18b4a348f5c0af76b8d1db0251ac7ba55d88 (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
{{ $pageTitle := "" }}
{{ if not .IsHome }}
  {{ $pageTitle = printf "%s - %s" .Title .Site.Title }}
{{ else }}
  {{ $pageTitle = .Site.Title }}
{{ end }}

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>{{ $pageTitle }}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    {{ with resources.Get "css/style.css" | minify | fingerprint }}
      <link rel="stylesheet" href="{{ .Permalink }}">
    {{ end }}
    <meta property="og:title" content="{{ $pageTitle }}">
    <meta property="og:url" content="{{ .Page.RelPermalink }}">
    <meta property="og:site_name" content="{{ .Site.Title }}">
    <meta property="og:description" content="{{ .Site.Params.subtext }}">
    <a rel="me" href="https://wetdry.world/@auroras"></a>
    <meta name="fediverse:creator" content="@auroras@wetdry.world">
  </head>
  <body>
    {{ partial "header.html" . }}
    <div class="content">
      {{ block "main" . }}
        {{ . }}
      {{ end }}
      {{ partial "footer.html" . }}
    </div>
  </body>
</html>