From a86abf59947645d34c56ca31f6b94bcb99eeb750 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 1 May 2021 11:57:59 +0530 Subject: [PATCH] Preload `profileMode image` and `label icon` before they are discovered in HTML --- layouts/partials/head.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b4fccfb..1995531 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -58,6 +58,16 @@ {{- end }} +{{- with .Site.Params.profileMode }} +{{- if and .enabled .imageUrl }} + +{{- end }} +{{- end }} + +{{- with .Site.Params.label.icon }} + +{{- end }} + {{- /* Search */}} {{- if (eq .Layout `search`) -}}