aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
blob: 1e893bee7e6fb179afc98e65d0f5224d05985136 (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
<!DOCTYPE html>
<html>
    <head lang="en-gb">
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        {{- $title := ( .Title ) -}}
        {{- $siteTitle := ( .Site.Title ) -}}
        {{- if .IsHome -}}
        <title> {{ $siteTitle }} </title>
        {{- else -}}
        <title> {{ $siteTitle }} | {{ $title }} </title>
        {{- end -}}
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
        <meta name="keywords" content="Karan, Jayachandra, Notes">
        <meta name="author" content="Karan Jayachandra">
        <link rel="stylesheet" type="text/css" media="screen" href="https://karanj.com/main.css"/>
        <link rel="icon" href="https://karanj.com/favicon-light.png" type="image/x-icon">
        <link rel="icon" href="https://karanj.com/favicon-light.png" type="image/x-icon" media="(prefers-color-scheme: light)">
        <link rel="icon" href="https://karanj.com/favicon-dark.png" type="image/x-icon" media="(prefers-color-scheme: dark)">
    </head>
    <body>
      <nav>
        <ul>
          <a href="/"><li>Home</li></a>
          <a href="https://gitlab.com/KaranJayachandra"><li>Gitlab</li></a>
          <a href="https://karanjayachandra.gitlab.io/cv"><li>CV</li></a>
          <a href="/Posts"><li>Posts</li></a>
        </ul>
      </nav>
      <main> {{- block "main" . }}{{- end }} </main>
    </body>
    <p style="margin-bottom:1cm;"></p>
</html>