1
0
Fork 0
faulty.equipment/themes/fesite/layouts/partials/head.html
Hamcha f1e3e40651
All checks were successful
Deploy to Artifacts / deploy (push) Successful in 10s
defer copy css
2024-05-13 18:37:32 +02:00

26 lines
No EOL
1.5 KiB
HTML

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title =
.Site.Title }}{{ end }}
<title>{{ $title }}</title>
<link rel="preload" href="/fonts/IosevkaAile/woff2/iosevka-aile-bold.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href="https://rsms.me/inter/font-files/Inter-Regular.woff2?v=3.19" as="font" type="font/woff2"
crossorigin />
{{ $normalize := resources.Get "css/normalize.css"| minify}}
<link rel="stylesheet" href="{{ $normalize.RelPermalink }}" />
<link rel="preload" href="https://rsms.me/inter/inter.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript>
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
</noscript>
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS (dict
"targetPath" "css/main.css" "enableSourceMap" true ) | minify |
resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
<link rel="stylesheet" href="/fonts/IosevkaAile/iosevka-aile.css" />
{{ range .AlternativeOutputFormats -}} {{ printf `
<link rel="%s" type="%s" href="%s" title="%s" />
` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}
<meta name="description"
content="{{ if .Params.description }}{{ .Params.description }}{{ else if .Site.Params.description }}{{ .Site.Params.description }}{{ end }}" />
</head>