mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 10:31:39 +01:00
Revert "Preload profileMode image
and label icon
"
This reverts commita3ad238f78
This reverts commita86abf5994
.
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…
Reference in New Issue
Block a user