From 64ef954381d1cbd9b2a25938699d32b66fa234a1 Mon Sep 17 00:00:00 2001 From: Ethan Yoo Date: Sun, 23 Jun 2024 11:20:36 -0400 Subject: [PATCH] Try to prevent flashing between page loads by loading CSS earlier --- themes/geronimo/layouts/_default/baseof.html | 4 ++-- themes/geronimo/layouts/partials/search.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/geronimo/layouts/_default/baseof.html b/themes/geronimo/layouts/_default/baseof.html index c5905de..74b7e01 100644 --- a/themes/geronimo/layouts/_default/baseof.html +++ b/themes/geronimo/layouts/_default/baseof.html @@ -9,15 +9,15 @@ {{- with .OutputFormats.Get "RSS" -}}{{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}{{ end }} - + {{- if not .IsHome }}{{ partial "header" . }}{{ partialCached "search.html" . }}{{ end }} {{- if .IsHome }}{{- block "header" . }}{{ end }} {{- end }} {{- block "main" . }}{{ end }} - {{ if not .IsHome }}{{ partial "footer" . }} {{ end }} + diff --git a/themes/geronimo/layouts/partials/search.html b/themes/geronimo/layouts/partials/search.html index 8e59ef5..6dfc34b 100644 --- a/themes/geronimo/layouts/partials/search.html +++ b/themes/geronimo/layouts/partials/search.html @@ -1,4 +1,5 @@ +