aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
blob: 234692a0c956ccda2a58eba561bdc21816a96fcc (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
<!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 href="https://cdn.jsdelivr.net/npm/computer-modern@0.1.3/cmu-serif.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" media="screen" href="/main.css"/>
    <link rel="icon" href="/logo.svg" type="image/x-icon">
    {{if .Params.math }} {{ partial "katex.html" . }} {{end}}
  </head>
  <body>
    <div style="text-align: center; font-size: xx-large; font-weight: 900;">Karan Jayachandra</div>
    <nav>
      <ul>
        <a href="/"><li>Home</li></a>
        <a href="https://gitlab.com/KaranJayachandra"><li>Projects</li></a>
        <a href="/resume.pdf"><li>Resume</li></a>
        <a href="/posts"><li>Posts</li></a>
      </ul>
    </nav>
    <main> {{- block "main" . }}{{- end }} </main>
    <hr style="border-bottom: dotted 1px; border-top: none;">
    <footer>
      <div>Email me at <b>me{at}karanj{dot}com</b></div>
      <div>Content licensed <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a></div>
    </footer>
  </body>
</html>