mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Revert "Preload profileMode image
and label icon
"
This reverts commit a3ad238f78757133f9af43cfeaa1e837858218f5 This reverts commit a86abf59947645d34c56ca31f6b94bcb99eeb750.
This commit is contained in:
parent
2bb7687a34
commit
566989abf4
@ -58,16 +58,6 @@
|
|||||||
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" rel="preload stylesheet" as="style">
|
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" rel="preload stylesheet" as="style">
|
||||||
{{- end }}
|
{{- 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 */}}
|
{{- /* Search */}}
|
||||||
{{- if (eq .Layout `search`) -}}
|
{{- if (eq .Layout `search`) -}}
|
||||||
<link crossorigin="anonymous" rel="preload" as="fetch" href="../index.json">
|
<link crossorigin="anonymous" rel="preload" as="fetch" href="../index.json">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user