From a3ad238f78757133f9af43cfeaa1e837858218f5 Mon Sep 17 00:00:00 2001 From: "Daniel F. Dickinson" <20735818+danielfdickinson@users.noreply.github.com> Date: Tue, 10 Aug 2021 10:22:47 -0400 Subject: [PATCH] Fix profileMode imageUrl preloaded on every page (#495) Instead we now only preload on the home page. Closes #494 Signed-off-by: Daniel F. Dickinson <20735818+danielfdickinson@users.noreply.github.com> --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ac9108a0..d696594e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -59,7 +59,7 @@ {{- end }} {{- with .Site.Params.profileMode }} -{{- if and .enabled .imageUrl }} +{{- if and .enabled .imageUrl $.IsHome }} {{- end }} {{- end }}