1
0
Fork 0
faulty.equipment/themes/fesite/layouts/partials/head.html

36 lines
1.3 KiB
HTML
Raw Normal View History

2022-06-29 09:40:23 +00:00
<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>
2023-09-16 12:00:12 +00:00
<link
rel="preload"
href="/fonts/IosevkaAile/woff2/iosevka-aile-bold.woff2"
as="font"
type="font/woff2"
crossorigin
/>
<link
rel="preload"
2023-09-16 12:00:55 +00:00
href="https://rsms.me/inter/font-files/Inter-Regular.woff2?v=3.19"
2023-09-16 12:00:12 +00:00
as="font"
type="font/woff2"
crossorigin
/>
2022-06-29 09:40:23 +00:00
{{ $normalize := resources.Get "css/normalize.css"| minify}}
<link rel="stylesheet" href="{{ $normalize.RelPermalink }}" />
{{ $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" />
2023-09-14 18:47:07 +00:00
{{ range .AlternativeOutputFormats -}} {{ printf `
<link rel="%s" type="%s" href="%s" title="%s" />
` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}
2023-09-15 21:12:05 +00:00
<meta
name="description"
content="{{ if .Params.description }}{{ .Params.description }}{{ else if .Site.Params.description }}{{ .Site.Params.description }}{{ end }}"
/>
2022-06-29 09:40:23 +00:00
</head>