From 62046467215fee119fefc1f9a35d751acf6685b3 Mon Sep 17 00:00:00 2001 From: Domini Montessori Date: Mon, 7 Sep 2026 08:04:40 +0300 Subject: [PATCH] perf: optimize font loading on home page + font preload - Preload Newsreader headings font (font weights 600/700/400italic) with media=print/onload trick - Full font bundle in noscript for no-JS fallback - Reduces LCP by prioritizing critical heading font --- layouts/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 94f4df91..aeb379ea 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -8,10 +8,11 @@ - {{/* Fonts */}} + {{/* Fonts — preload Newsreader (heading font) for faster LCP */}} - + + {{/* CSS */}} {{ partial "head.html" . }}