Files
alexis.lahouze.org/layouts/_partials/head.html
T
alahouze 4c61145399
ci/woodpecker/push/woodpecker Pipeline was successful
Tentative de corriger le téléchargement de fontes, encore.
2026-03-20 02:11:14 +01:00

60 lines
1.6 KiB
HTML

<meta charset="utf-8">
<meta name="generator" content="Hugo {{ hugo.Version }}">
{{ with .OutputFormats.Get "rss" }}
<link rel="{{ .Rel }}" {{ printf "type=%q" .MediaType.Type | safeHTMLAttr }} href="{{ .Permalink }}" title="{{ site.Title }}" />
{{ end }}
<style>
{{ with resources.Get "fonts/IosevkaTermSS04-Regular.woff2" }}
@font-face {
font-family: "Iosevka";
src:
url("{{ .RelPermalink }}") format('woff2'),
local("Courier New");
}
{{ end }}
{{ with resources.Get "fonts/IosevkaTermSS04-Italic.woff2" }}
@font-face {
font-family: "Iosevka";
font-style: italic;
src:
url("{{ .RelPermalink }}") format('woff2'),
local("Courier New");
}
{{ end }}
{{ with resources.Get "fonts/IosevkaTermSS04-Bold.woff2" }}
@font-face {
font-family: "Iosevka";
font-weight: bold;
src:
url("{{ .RelPermalink }}") format('woff2'),
local("Courier New");
}
{{ end }}
{{ with resources.Get "fonts/IosevkaTermSS04-BoldItalic.woff2" }}
@font-face {
font-family: "Iosevka";
font-style: italic;
font-weight: bold;
src:
url("{{ .RelPermalink }}") format('woff2'),
local("Courier New");
}
{{ end }}
</style>
{{ range resources.Match "style/*.scss" }}
{{ with . | toCSS }}
{{ with cond hugo.IsDevelopment . (. | minify | fingerprint) }}
<link rel="preload" href="{{ .RelPermalink }}" as="style">
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
{{ end }}
{{ end }}
<title>{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}