2022-04-11 18:28:03 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<base href="{{ .Site.BaseURL }}">
|
|
|
|
{{ partial "html-meta.html" . -}}
|
|
|
|
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
2022-04-11 23:35:01 +03:00
|
|
|
{{ $ss := resources.Get "css/main.css" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
|
|
|
|
<link rel="stylesheet" href="{{ $ss.Permalink }}">
|
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" -}}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{ end -}}
|
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>
|
|
|
|
<h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
|
|
|
{{- 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>
|