summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-03-27 19:56:56 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-03-27 19:56:56 +0530
commit566989abf413088c5e430de1141c089f4c1a1442 (patch)
treed2cd7bb0693fa71bea8a218430d146e228788963
parent2bb7687a34f3e3af9aff885de67b29216ff0751f (diff)
Revert "Preload `profileMode image` and `label icon`"
This reverts commit a3ad238f78757133f9af43cfeaa1e837858218f5 This reverts commit a86abf59947645d34c56ca31f6b94bcb99eeb750.
-rw-r--r--layouts/partials/head.html10
1 files changed, 0 insertions, 10 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index ed70b31..261eea6 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -58,16 +58,6 @@
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" rel="preload stylesheet" as="style">
{{- end }}
-{{- with site.Params.profileMode }}
-{{- if and .enabled .imageUrl $.IsHome }}
-<link rel="preload" href="{{ .imageUrl }}" as="image">
-{{- end }}
-{{- end }}
-
-{{- with site.Params.label.icon }}
-<link rel="preload" href="{{ . }}" as="image">
-{{- end }}
-
{{- /* Search */}}
{{- if (eq .Layout `search`) -}}
<link crossorigin="anonymous" rel="preload" as="fetch" href="../index.json">