2022-04-11 18:28:03 +03:00
|
|
|
<!DOCTYPE html>
|
2023-02-20 16:51:40 +02:00
|
|
|
<html lang="en">
|
2022-04-11 18:28:03 +03:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
{{ partial "html-meta.html" . -}}
|
|
|
|
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
2022-04-26 05:31:03 +03:00
|
|
|
{{ $css := resources.Get "_/styles.scss" | resources.ToCSS (dict "enableSourceMap" true) | resources.Minify | resources.Fingerprint }}
|
2022-04-12 12:13:41 +03:00
|
|
|
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
2022-04-11 18:28:03 +03:00
|
|
|
{{ with .Site.Params.favicon -}}
|
|
|
|
<link rel="shortcut icon" href="{{ . }}" type="image/x-icon">
|
|
|
|
{{ end -}}
|
2022-04-11 22:12:05 +03:00
|
|
|
{{ with .OutputFormats.Get "rss" -}}
|
2022-04-12 12:13:41 +03:00
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
2022-04-11 22:12:05 +03:00
|
|
|
{{ end -}}
|
2022-04-14 18:58:10 +03:00
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
2023-02-20 16:51:40 +02:00
|
|
|
<meta name="description"
|
|
|
|
content="{{ if .Params.description }}{{ .Params.description }}{{ else }}Motiejus Jakštys personal space{{ end }}"
|
|
|
|
/>
|
2022-04-12 13:10:38 +03:00
|
|
|
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
2022-04-11 18:28:03 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
{{ with .Site.Menus.parent -}}
|
|
|
|
<nav>
|
|
|
|
{{ range . -}}
|
|
|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
{{ end -}}
|
|
|
|
</nav>
|
|
|
|
{{ end -}}
|
|
|
|
<div>
|
2022-04-12 12:13:41 +03:00
|
|
|
<h1><a href="/">{{ .Site.Title }}</a></h1>
|
2022-04-11 18:28:03 +03:00
|
|
|
{{- if .Site.Params.subtitle }}<h2><a href="{{ .Site.BaseURL }}">{{ .Site.Params.subtitle }}</a></h2>{{- end }}
|
|
|
|
</div>
|
|
|
|
<nav>
|
|
|
|
{{- range .Site.Menus.main -}}
|
|
|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
{{- end -}}
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
{{ block "main" . }}{{- end }}
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|