From b6cb911afc5449b4d415a7ced497c92df203937d Mon Sep 17 00:00:00 2001
From: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Date: Thu, 25 Jan 2024 08:33:23 +0100
Subject: [PATCH] fonts: use font-display:optional insead of swap
Having `font-display: swap` caused FOUT, swapping to `optional` improves
the experience with graceful degradation.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
---
layouts/partials/head.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c06d51698e..810cbd9473 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -37,8 +37,8 @@
{{ end }}
-
-
+
+
{{ partial "utils/css.html" . }}
{{ $theme := resources.Get "js/theme.js" | js.Build (dict "minify" true) }}