1
0
Fork 0

add preloaded fonts
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2023-09-16 14:00:12 +02:00
parent d5fa512e60
commit 9359b3585d
Signed by: hamcha
GPG Key ID: 1669C533B8CF6D89
1 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,20 @@
{{ $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"
as="font"
type="font/woff2"
crossorigin
/>
{{ $normalize := resources.Get "css/normalize.css"| minify}}
<link rel="stylesheet" href="{{ $normalize.RelPermalink }}" />
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS (dict