36 lines
1.5 KiB
HTML
36 lines
1.5 KiB
HTML
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<base href={{ .Site.BaseURL }}>
|
|
|
|
{{ hugo.Generator }}
|
|
|
|
{{ with .Site.Params.description }}
|
|
<meta name="description" content="{{ . }}">
|
|
{{ end }}
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/static/img" | absURL }}/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/static/img" | absURL }}/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/static/img" | absURL }}/favicon-16x16.png">
|
|
<link rel="manifest" href="{{ "" | absURL }}/site.webmanifest">
|
|
<link rel="mask-icon" href="{{ "/static/img" | absURL }}/safari-pinned-tab.svg" color="#4b3aba">
|
|
<meta name="msapplication-TileColor" content="#4b3aba">
|
|
<meta name="theme-color" content="#4b3aba">
|
|
|
|
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
|
|
|
{{ if .IsHome }}
|
|
{{ $homepage := "Home" }}
|
|
{{ with .Site.Menus.nav }}
|
|
{{ range first 1 . }}
|
|
{{ $homepage = .Name }}
|
|
{{ end }}
|
|
{{ end }}
|
|
<title>{{ $homepage }} | {{ .Site.Title }}</title>
|
|
{{ else }}
|
|
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
|
{{ end }}
|
|
|
|
</head>
|