Revert "Preload profileMode image and label icon"

This reverts commit a3ad238f78
This reverts commit a86abf5994.
This commit is contained in:
Aditya Telange 2022-03-27 19:56:56 +05:30
parent 2bb7687a34
commit 566989abf4
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -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">