Ajout des fontes Iosevka utilisées pour le site.

This commit is contained in:
2026-03-20 01:52:31 +01:00
parent eaae21b309
commit 863df2de23
5 changed files with 42 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+42
View File
@@ -4,6 +4,48 @@
<link rel="{{ .Rel }}" {{ printf "type=%q" .MediaType.Type | safeHTMLAttr }} href="{{ .Permalink }}" title="{{ site.Title }}" /> <link rel="{{ .Rel }}" {{ printf "type=%q" .MediaType.Type | safeHTMLAttr }} href="{{ .Permalink }}" title="{{ site.Title }}" />
{{ end }} {{ end }}
<style>
{{ with resources.Get "fonts/IosevkaTermSS04-Regular.woff2" }}
@font-face {
font-family: "monospace";
src:
url("{{ .Permalink }}"),
local("Courier New");
}
{{ end }}
{{ with resources.Get "fonts/IosevkaTermSS04-Italic.woff2" }}
@font-face {
font-family: "monospace";
font-style: italic;
src:
url("{{ .Permalink }}"),
local("Courier New");
}
{{ end }}
{{ with resources.Get "fonts/IosevkaTermSS04-Bold.woff2" }}
@font-face {
font-family: "monospace";
font-weight: bold;
src:
url("{{ .Permalink }}"),
local("Courier New");
}
{{ end }}
{{ with resources.Get "fonts/IosevkaTermSS04-BoldItalic.woff2" }}
@font-face {
font-family: "monospace";
font-style: italic;
font-weight: bold;
src:
url("{{ .Permalink }}"),
local("Courier New");
}
{{ end }}
</style>
{{ range resources.Match "style/*.scss" }} {{ range resources.Match "style/*.scss" }}
{{ with . | toCSS }} {{ with . | toCSS }}
{{ if hugo.IsDevelopment }} {{ if hugo.IsDevelopment }}