summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
blob: 6c13084ccb26c6739953e64479ec642c2c71a893 (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
<!DOCTYPE html>
<html lang="en">

<head>
  <meta name="yandex-xverification" content="fc9dd63070a12909">
  <meta charset="UTF-8" />
  <meta author="Mateja Maric" />

  {{ if .Description }}
  <meta name="description" content="{{ .Description }}">
  {{ end }}

  {{ if .Keywords }}
  <meta name="keywords" content="{{ .Keywords }}">
  {{ end }}

  {{ if .PublishDate }}
  <meta property="article:published_time" content="{{ .PublishDate }}" />
  {{ end }}

  {{ if .Lastmod }}
  <meta property="article:modified_time" content="{{ .Lastmod }}" />
  {{ end }}

  <link rel="canonical" href="{{ .Permalink }}" />
  <meta name="viewport" content="width=device-width initial-scale=1.0" />
  <link href="/style.css" rel="stylesheet" type="text/css" />
  <title>{{ .Title }}</title>
</head>

<body>
  <nav>
    <div class="mm">Mateja Maric</div>
    <a {{ if eq .RelPermalink "/" }} class="active" {{ end }} href="/">Home</a>
    <a {{ if eq .RelPermalink "/blog/" }} class="active" {{ end }} href="/blog/">Blog</a>
    <a target="_blank" href="https://github.com/MatejaMaric">GitHub</a>
    <a target="_blank" href="https://git.matejamaric.com">Git server</a>
    <a {{ if eq .RelPermalink "/contact/" }} class="active" {{ end }} href="/contact/">Contact</a>
  </nav>
  <main>
    {{ block "main" . }}{{ end }}
  </main>

</body>

</html>