From 9d55ae84a8208abd714d6b35bd31b023e4ee2ce5 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 26 Jul 2025 13:45:58 +0200 Subject: Improve performance by preloading webfonts --- themes/conspiracy/layouts/_partials/head.html | 6 ++++++ themes/conspiracy/layouts/baseof.html | 9 +-------- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'themes') diff --git a/themes/conspiracy/layouts/_partials/head.html b/themes/conspiracy/layouts/_partials/head.html index 1196d00..c82f260 100644 --- a/themes/conspiracy/layouts/_partials/head.html +++ b/themes/conspiracy/layouts/_partials/head.html @@ -5,6 +5,12 @@ + {{- $stylesheet := resources.Get "css/style.css" | resources.ExecuteAsTemplate "style.css" . }} + + + + + diff --git a/themes/conspiracy/layouts/baseof.html b/themes/conspiracy/layouts/baseof.html index 9557f19..d8ebc93 100644 --- a/themes/conspiracy/layouts/baseof.html +++ b/themes/conspiracy/layouts/baseof.html @@ -5,15 +5,8 @@ {{- partial "header.html" . -}} {{- block "main" . }}{{- end }} {{- partial "footer.html" . -}} - +