summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
blob: f60954f84c51f87b3d82d0c473b1ed4b1b56d144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="{{ .Site.Language }}">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{{ if not .IsHome }}{{ .Title | title }} - {{ end }}{{ .Site.Title }}</title>
  <link rel="stylesheet" type="text/css" href="/style.css">
  <link rel="icon" href="/favicon.ico">
  <meta property="og:title" content="{{ if not .IsHome }}{{ .Title | title }} - {{ else }}{{ .Site.Title }}{{ end }}">
  <meta property="og:url" content="{{ .RelPermalink }}">
  <meta property="og:image" content="/avatar.png">
  <meta property="og:site_name" content="{{ .Site.Title }}">
</head>
<body>
  {{ partial "header.html" . }}
  <main>
    {{ block "main" . }}
      {{ .Content }}
    {{ end }}
  {{ partial "footer.html" . }}
  </main>
</body>
</html>